Skip to content

Commit

Permalink
Update checkout action
Browse files Browse the repository at this point in the history
  • Loading branch information
jhildenbiddle committed Mar 5, 2024
1 parent 010314c commit 1d1f568
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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:
Expand Down

0 comments on commit 1d1f568

Please sign in to comment.