Skip to content

Commit 78e6e56

Browse files
authored
chore: lock npm version for CI (#762)
* chore: limit npm version to 9 in ci for compatibility with node 16 * changelog
1 parent ac76756 commit 78e6e56

File tree

7 files changed

+7
-6
lines changed

7 files changed

+7
-6
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
node-version: ${{ matrix.node }}
3030

31-
- run: npm install -g npm
31+
- run: npm install -g npm@9
3232

3333
- run: npm install
3434

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ jobs:
2424
uses: actions/setup-node@v1
2525
with:
2626
node-version: ${{ matrix.node }}
27-
- run: npm install -g npm
27+
- run: npm install -g npm@9
2828
- run: npm install
2929
- run: npm run lint --workspaces --if-present

.github/workflows/mitm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
node-version: ${{ matrix.node }}
3030

31-
- run: npm install -g npm
31+
- run: npm install -g npm@9
3232

3333
- run: npm install
3434

.github/workflows/prettier.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: actions/setup-node@v1
2525
with:
2626
node-version: ${{ matrix.node }}
27-
- run: npm install -g npm
27+
- run: npm install -g npm@9
2828
- run: npm install prettier pretty-quick
2929
- run: npm run prettier:check
3030

.github/workflows/size-limit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
CI_JOB_NUMBER: 1
88
steps:
99
- uses: actions/checkout@v1
10-
- run: npm install -g npm
10+
- run: npm install -g npm@9
1111
# - run: npm run size-limit --workspaces --if-present
1212

1313
# commented out until the job can be configured

.github/workflows/unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
with:
3030
node-version: ${{ matrix.node }}
3131

32-
- run: npm install -g npm
32+
- run: npm install -g npm@9
3333

3434
- run: npm ci
3535

docs/generated/changelog.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ <h1>Agent-JS Changelog</h1>
1212
<section>
1313
<h2>Version x.x.x</h2>
1414
<ul>
15+
<li>chore: limit npm version to 9 in ci for compatibility with node 16</li>
1516
<li>
1617
Adds more helpful error message for when principal is undefined during actor creation
1718
</li>

0 commit comments

Comments
 (0)