Skip to content

Commit 35e5048

Browse files
authored
fix(package): pin dependencies and disable install scripts (#1103)
Refs: nodejs/node-core-utils#976 Refs: nodejs/node-core-utils#975
1 parent b79ee60 commit 35e5048

File tree

6 files changed

+6845
-4
lines changed

6 files changed

+6845
-4
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
node-version: lts/*
2525

2626
- name: Install packages
27-
run: npm install
27+
run: npm ci
2828

2929
- name: Run lint
3030
run: npm run lint

.github/workflows/test-module.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
node-version: ${{ matrix.node-version }}
5757

5858
- name: Install packages
59-
run: npm install
59+
run: npm ci
6060

6161
- name: Run CITGM
6262
run: node bin/citgm.js ${{ github.event.inputs.module }}

.npmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
package-lock=false
1+
ignore-scripts=true

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/README.md
2+
/npm-shrinkwrap.json
23
/test/fixtures/custom-lookup-broken.json

0 commit comments

Comments
 (0)