Skip to content

Commit 7050a91

Browse files
authored
Merge pull request #141 from Uzlopak/remove-package-lock-json
2 parents de3f039 + f0254db commit 7050a91

File tree

6 files changed

+11
-2540
lines changed

6 files changed

+11
-2540
lines changed

.github/workflows/tests-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
${{ runner.os }}-node-${{ matrix.node }}
5858
5959
# for this workflow we also require npm audit to pass
60-
- run: npm ci
60+
- run: npm i
6161
- run: npm run test:coverage
6262

6363
# with the following action we enforce PRs to have a high coverage
@@ -110,7 +110,7 @@ jobs:
110110
# we just cloned and install it as local dependency
111111
- run: |
112112
cd github/testing/express
113-
npm ci
113+
npm i
114114
npm install ../../../
115115
npm run test
116116
@@ -125,7 +125,7 @@ jobs:
125125
with:
126126
node-version: 12
127127
registry-url: https://registry.npmjs.org/
128-
- run: npm ci
128+
- run: npm i
129129
- run: npm publish --dry-run
130130
env:
131131
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
@@ -143,7 +143,7 @@ jobs:
143143
# we always publish targeting the lowest supported node version
144144
node-version: 12
145145
registry-url: $registry-url(npm)
146-
- run: npm ci
146+
- run: npm i
147147
- run: npm publish --dry-run
148148
env:
149149
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
3636
restore-keys: |
3737
${{ runner.os }}-node-${{ matrix.node }}
38-
- run: npm ci
38+
- run: npm i
3939
- run: npm run test:coverage
4040

4141
# with the following action we enforce PRs to have a high coverage

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,6 @@ tramp
3939
# coverage
4040
coverage
4141
.nyc_output
42+
43+
package-lock.json
44+
yarn.lock

.npmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
test/
2+
package-lock.json
3+
yarn.lock

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

0 commit comments

Comments
 (0)