Skip to content

Commit

Permalink
Build: Separate the install step from running tests in GitHub Actions
Browse files Browse the repository at this point in the history
Also, update the "Run test" label to "Run tests".

Closes jquerygh-4992
  • Loading branch information
mgol authored Jan 4, 2022
1 parent 5d5ea01 commit eef9725
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,13 @@ jobs:
wget --no-verbose $FIREFOX_SOURCE_URL -O - | tar -jx -C ${HOME}
if: "contains(matrix.NAME, 'Firefox ESR')"

- name: Run test
- name: Install dependencies
run: |
npm install
- name: Run tests
env:
BROWSERS: ${{ matrix.BROWSERS }}
run: |
export PATH=${HOME}/firefox:$PATH
npm install
npm run ${{ matrix.NPM_SCRIPT }}

0 comments on commit eef9725

Please sign in to comment.