From: Michał Gołębiowski-Owczarek Date: Tue, 4 Jan 2022 15:27:42 +0000 (+0100) Subject: Build: Separate the install step from running tests in GitHub Actions X-Git-Tag: 4.0.0-beta~116 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=eef972508c8be6cc3cd0039d34dc9fe16bac916c;p=jquery.git Build: Separate the install step from running tests in GitHub Actions Also, update the "Run test" label to "Run tests". Closes gh-4992 --- 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 }}