mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Build: Separate the install step from running tests in GitHub Actions
Also, update the "Run test" label to "Run tests". Closes gh-4992
This commit is contained in:
parent
5d5ea01511
commit
eef972508c
7
.github/workflows/node.js.yml
vendored
7
.github/workflows/node.js.yml
vendored
@ -59,10 +59,13 @@ jobs:
|
|||||||
wget --no-verbose $FIREFOX_SOURCE_URL -O - | tar -jx -C ${HOME}
|
wget --no-verbose $FIREFOX_SOURCE_URL -O - | tar -jx -C ${HOME}
|
||||||
if: "contains(matrix.NAME, 'Firefox ESR')"
|
if: "contains(matrix.NAME, 'Firefox ESR')"
|
||||||
|
|
||||||
- name: Run test
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
env:
|
env:
|
||||||
BROWSERS: ${{ matrix.BROWSERS }}
|
BROWSERS: ${{ matrix.BROWSERS }}
|
||||||
run: |
|
run: |
|
||||||
export PATH=${HOME}/firefox:$PATH
|
export PATH=${HOME}/firefox:$PATH
|
||||||
npm install
|
|
||||||
npm run ${{ matrix.NPM_SCRIPT }}
|
npm run ${{ matrix.NPM_SCRIPT }}
|
||||||
|
Loading…
Reference in New Issue
Block a user