diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ff8ffee..03b4295 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,14 +11,11 @@ jobs: os: [macos-latest, ubuntu-latest, windows-latest] steps: - name: Checkout - uses: actions/checkout@v2 - + uses: actions/checkout@v4 - name: Install run: npm ci --ignore-scripts - - name: Lint run: npm run lint - - name: Build run: npm run build @@ -27,34 +24,27 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 - + uses: actions/checkout@v4 - name: Install run: npm ci --ignore-scripts - - name: Build run: npm run build - - name: Setup BrowserStack environment uses: browserstack/github-actions/setup-env@master with: username: ${{ secrets.BROWSERSTACK_USERNAME }} access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }} - - name: Start BrowserStack tunnel uses: browserstack/github-actions/setup-local@master with: local-testing: start local-identifier: random - - name: Run tests on BrowserStack run: npm run test-remote - - name: Stop BrowserStack tunnel uses: browserstack/github-actions/setup-local@master with: local-testing: stop - - name: Report code coverage uses: codacy/codacy-coverage-reporter-action@v1 with: