diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2022-01-04 16:27:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-04 16:27:42 +0100 |
commit | eef972508c8be6cc3cd0039d34dc9fe16bac916c (patch) | |
tree | 3b4757830da75577f67c31aad2676a6c022c4c56 /.github | |
parent | 5d5ea015114092c157311c4948f7cc3d8c8e7f8a (diff) | |
download | jquery-eef972508c8be6cc3cd0039d34dc9fe16bac916c.tar.gz jquery-eef972508c8be6cc3cd0039d34dc9fe16bac916c.zip |
Build: Separate the install step from running tests in GitHub Actions
Also, update the "Run test" label to "Run tests".
Closes gh-4992
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/node.js.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 7bf861798..0b4e6950f 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -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 }} |