Skip to content

Commit c46cf9e

Browse files
committed
bug in NPM cli
npm/cli#4341
1 parent 2d52bb6 commit c46cf9e

File tree

3 files changed

+23
-11
lines changed

3 files changed

+23
-11
lines changed

.github/workflows/publish-js.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ jobs:
1515
# Setup .npmrc file to publish to npm
1616
- uses: actions/setup-node@v2
1717
with:
18-
node-version: '14.x'
19-
registry-url: 'https://registry.npmjs.org'
18+
node-version: "14.x"
19+
registry-url: "https://registry.npmjs.org"
20+
- name: Install Specific NPM Version
21+
run: npm install -g npm@8.3
2022
- name: Prepare Release
2123
working-directory: ./src/client
2224
run: |

.github/workflows/publish-py.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v2
15-
- uses: actions/setup-node@v2-beta
15+
- uses: actions/setup-node@v2
1616
with:
1717
node-version: "14.x"
18+
- name: Install Specific NPM Version
19+
run: npm install -g npm@8.3
1820
- name: Set up Python
1921
uses: actions/setup-python@v1
2022
with:

.github/workflows/test.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v2
1818
- uses: nanasess/setup-chromedriver@master
19-
- uses: actions/setup-node@v2-beta
19+
- uses: actions/setup-node@v2
2020
with:
21-
node-version: "14"
21+
node-version: "14.x"
22+
- name: Install Specific NPM Version
23+
run: npm install -g npm@8.3
2224
- name: Use Latest Python
2325
uses: actions/setup-python@v2
2426
with:
@@ -37,9 +39,11 @@ jobs:
3739
steps:
3840
- uses: actions/checkout@v2
3941
- uses: nanasess/setup-chromedriver@master
40-
- uses: actions/setup-node@v2-beta
42+
- uses: actions/setup-node@v2
4143
with:
42-
node-version: "14"
44+
node-version: "14.x"
45+
- name: Install Specific NPM Version
46+
run: npm install -g npm@8.3
4347
- name: Use Python ${{ matrix.python-version }}
4448
uses: actions/setup-python@v2
4549
with:
@@ -53,9 +57,11 @@ jobs:
5357
runs-on: ubuntu-latest
5458
steps:
5559
- uses: actions/checkout@v2
56-
- uses: actions/setup-node@v2-beta
60+
- uses: actions/setup-node@v2
5761
with:
58-
node-version: "14"
62+
node-version: "14.x"
63+
- name: Install Specific NPM Version
64+
run: npm install -g npm@8.3
5965
- name: Use Latest Python
6066
uses: actions/setup-python@v2
6167
with:
@@ -69,9 +75,11 @@ jobs:
6975
runs-on: ubuntu-latest
7076
steps:
7177
- uses: actions/checkout@v2
72-
- uses: actions/setup-node@v2-beta
78+
- uses: actions/setup-node@v2
7379
with:
74-
node-version: "14"
80+
node-version: "14.x"
81+
- name: Install Specific NPM Version
82+
run: npm install -g npm@8.3
7583
- name: Install Python Dependencies
7684
run: pip install -r requirements/nox-deps.txt
7785
- name: Run Tests

0 commit comments

Comments
 (0)