Skip to content

Commit b8f17d4

Browse files
authored
chore: bust npm cache + build/lint/test on node 20+ (#794)
1 parent 2aaa80d commit b8f17d4

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.circleci/config.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
- checkout
2525
- node/install:
2626
node-version: << parameters.node-version >>
27+
with-cache: false
2728
- setup-npm
2829
- run: npm ci
2930
- run:
@@ -39,7 +40,8 @@ jobs:
3940
steps:
4041
- checkout
4142
- node/install:
42-
node-version: "18"
43+
node-version: "20"
44+
with-cache: false
4345
- setup-npm
4446
- run: npm ci
4547
- run: npm run build
@@ -51,7 +53,8 @@ jobs:
5153
steps:
5254
- checkout
5355
- node/install:
54-
node-version: "18"
56+
node-version: "20"
57+
with-cache: false
5558
- setup-npm
5659
- run: npm ci
5760

@@ -65,7 +68,8 @@ jobs:
6568
- run: echo "//npm.pkg.github.com/:_authToken=${GITHUB_PACKAGES_WRITE_TOKEN}" > ~/.npmrc
6669
- run: echo "@contentful:registry=https://npm.pkg.github.com" >> ~/.npmrc
6770
- node/install:
68-
node-version: "20.8.1"
71+
node-version: "20"
72+
with-cache: false
6973
- run: npm ci
7074
- run:
7175
name: Releasing
@@ -79,7 +83,7 @@ workflows:
7983
- vault
8084
matrix:
8185
parameters:
82-
node-version: ["18.12.0", "20.6.1"]
86+
node-version: ["20", "22", "24"]
8387
- lint-commits:
8488
context:
8589
- vault

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18
1+
v20

0 commit comments

Comments
 (0)