Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Node needs to be installed before caching.
  • Loading branch information
desrosj committed Oct 15, 2020
commit 20926379121da101639db739af3e29967d2dc6c7
10 changes: 5 additions & 5 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ jobs:
git --version
svn --version

- name: Install NodeJS
uses: actions/setup-node@v1
with:
node-version: 12

- name: Cache NodeJS modules
uses: actions/cache@v2
env:
Expand All @@ -107,11 +112,6 @@ jobs:
restore-keys: |
${{ runner.os }}-npm-

- name: Install NodeJS
uses: actions/setup-node@v1
with:
node-version: 12

- name: Log debug information
run: |
npm --version
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/end-to-end-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ jobs:
php -i
locale -a

- name: Install NodeJS
uses: actions/setup-node@v1
with:
node-version: 12

- name: Cache NodeJS modules
uses: actions/cache@v2
env:
Expand All @@ -69,12 +74,6 @@ jobs:
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-

- name: Install NodeJS
uses: actions/setup-node@v1
with:
node-version: 12

- name: Install Dependencies
run: npm ci

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/javascript-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ jobs:
git --version
svn --version

- name: Install NodeJS
uses: actions/setup-node@v1
with:
node-version: 12

- name: Cache NodeJS modules
uses: actions/cache@v2
env:
Expand All @@ -50,11 +55,6 @@ jobs:
restore-keys: |
${{ runner.os }}-npm-

- name: Install NodeJS
uses: actions/setup-node@v1
with:
node-version: 12

- name: Log debug information
run: |
npm --version
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/phpunit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ jobs:
php -i
locale -a

- name: Install NodeJS
uses: actions/setup-node@v1
with:
node-version: 12

- name: Cache NodeJS modules
uses: actions/cache@v2
env:
Expand All @@ -71,11 +76,6 @@ jobs:
restore-keys: |
${{ runner.os }}-npm-

- name: Install NodeJS
uses: actions/setup-node@v1
with:
node-version: 12

- name: Install Dependencies
run: npm ci

Expand Down Expand Up @@ -149,6 +149,11 @@ jobs:
echo "LOCAL_PHP=$(echo ${{ matrix.php_versions }} | cut -c1-3)-fpm" >> $GITHUB_ENV
echo "LOCAL_PHP_MEMCACHED=true" >> $GITHUB_ENV

- name: Install NodeJS
uses: actions/setup-node@v1
with:
node-version: 12

- name: Use cached Node modules
uses: actions/cache@v2
env:
Expand All @@ -160,11 +165,6 @@ jobs:
restore-keys: |
${{ runner.os }}-npm-

- name: Install NodeJS
uses: actions/setup-node@v1
with:
node-version: 12

- name: Install Dependencies
run: npm ci

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/verify-npm-on-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ jobs:
git --version
svn --version

- name: Install NodeJS
uses: actions/setup-node@v1
with:
node-version: 12

- name: Get NPM cache directory
id: npm-cache
run: echo "::set-output name=dir::$(npm config get cache)"
Expand All @@ -52,11 +57,6 @@ jobs:
restore-keys: |
${{ runner.os }}-npm-

- name: Install NodeJS
uses: actions/setup-node@v1
with:
node-version: 12

- name: Install Dependencies
run: npm ci

Expand Down