From cb35067f1b16661fa865f4f4e31132e37f5f4091 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Go=C5=82=C4=99biowski-Owczarek?= Date: Tue, 4 Jan 2022 16:27:42 +0100 Subject: [PATCH] Build: Separate the install step from running tests in GitHub Actions Also, update the "Run test" label to "Run tests". Closes gh-4992 (cherry picked from commit eef972508c8be6cc3cd0039d34dc9fe16bac916c) --- .github/workflows/node.js.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index d4e4c24fb..0eea38b89 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 }} -- 2.39.5