Skip to content

Commit d05260a

Browse files
ci(node): Resolve browserslist to 4.25.4
Also, commit a `package-lock.json` (version 1, so we can use it with npm 6), so that we pin our dependencies in CI. See browserslist/browserslist#905 (comment)
1 parent bcdc20b commit d05260a

File tree

4 files changed

+5407
-3
lines changed

4 files changed

+5407
-3
lines changed

.github/workflows/test_node.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
# We need to skip the fallback download because downloading will fail on release branches because the new version isn't available yet.
4747
# We have to use npm here because yarn fails on the non-existing existing optionalDependency version:
4848
# https://github.com/yarnpkg/berry/issues/2425#issuecomment-1627807326
49-
- run: SENTRYCLI_SKIP_DOWNLOAD=1 npm install
49+
- run: SENTRYCLI_SKIP_DOWNLOAD=1 npm ci
5050

5151
# older node versions need an older nft
5252
- run: SENTRYCLI_SKIP_DOWNLOAD=1 npm install @vercel/nft@0.22.1

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Compatibility with npm 6
2+
lockfile-version=1

0 commit comments

Comments
 (0)