Skip to content

Commit

Permalink
Revert "switch to npm 7 (#3666)" (#3671)
Browse files Browse the repository at this point in the history
This reverts commit a49cfca.
  • Loading branch information
tjenkinson committed Mar 22, 2021
1 parent a49cfca commit 2e3f6f3
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 30,410 deletions.
29 changes: 7 additions & 22 deletions .github/workflows/build.yml
Expand Up @@ -43,21 +43,6 @@ jobs:
with:
fetch-depth: 0

- name: check package-lock.json version
id: extract_tag
uses: actions/github-script@v3
with:
script: |
const fs = require('fs');
if (
JSON.parse(fs.readFileSync('./package-lock.json', { encoding: 'utf8' }))
.lockfileVersion !== 2
) {
throw new Error(
'Expecting package-lock.json version to be 2. Please make sure you are using npm 7.'
);
}
- name: cache node_modules
uses: actions/cache@v2
env:
Expand All @@ -73,7 +58,7 @@ jobs:
- name: use Node.js
uses: actions/setup-node@v2
with:
node-version: '15'
node-version: '12'

- name: install
run: |
Expand Down Expand Up @@ -133,7 +118,7 @@ jobs:
- name: use Node.js
uses: actions/setup-node@v2
with:
node-version: '15'
node-version: '12'

- name: download build
uses: actions/download-artifact@v2
Expand Down Expand Up @@ -174,7 +159,7 @@ jobs:
- name: use Node.js
uses: actions/setup-node@v2
with:
node-version: '15'
node-version: '12'

- name: download build
uses: actions/download-artifact@v2
Expand Down Expand Up @@ -211,7 +196,7 @@ jobs:
- name: use Node.js
uses: actions/setup-node@v2
with:
node-version: '15'
node-version: '12'

- name: download build
uses: actions/download-artifact@v2
Expand Down Expand Up @@ -264,7 +249,7 @@ jobs:
- name: use Node.js
uses: actions/setup-node@v2
with:
node-version: '15'
node-version: '12'

- name: download build
uses: actions/download-artifact@v2
Expand Down Expand Up @@ -318,7 +303,7 @@ jobs:
- name: use Node.js
uses: actions/setup-node@v2
with:
node-version: '15'
node-version: '12'

- name: download build
uses: actions/download-artifact@v2
Expand Down Expand Up @@ -409,7 +394,7 @@ jobs:
- name: use Node.js
uses: actions/setup-node@v2
with:
node-version: '15'
node-version: '12'

- name: download build
uses: actions/download-artifact@v2
Expand Down

0 comments on commit 2e3f6f3

Please sign in to comment.