Skip to content

Commit 0cdc55d

Browse files
committed
chore: generate lockfile for audit, install speed
1 parent 691379c commit 0cdc55d

File tree

5 files changed

+12111
-14
lines changed

5 files changed

+12111
-14
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,11 @@ jobs:
2929
with:
3030
node-version: 20
3131

32-
- name: Install dependencies
33-
run: npm install
32+
- run: npm ci
3433

35-
- name: Run all tests
36-
run: npm test
34+
- run: npm test
3735

38-
- name: Release and publish
39-
run: npx semantic-release
36+
- run: npx semantic-release
4037
env:
4138
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4239
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/test.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,8 @@ jobs:
2020
with:
2121
node-version: ${{ matrix.node-version }}
2222

23-
- name: Install dependencies
24-
run: npm install
23+
- run: npm ci
2524

26-
- name: Lint
27-
run: npm run lint
25+
- run: npm run lint
2826

29-
- name: Run tests
30-
run: npm test
27+
- run: npm test

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ tmp/**/*
66
.idea/**/*
77
*.iml
88
*.log
9-
package-lock.json
109
.nyc_output
1110
.tap/

.npmrc

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,18 @@
1-
package-lock=false
1+
; Don't download optionalDependencies and peerDependencies.
2+
; Conflicting peerDependencies is a source of issues with npm install.
3+
; This setting forces us to be explicit about listing dependencies.
4+
omit=optional
5+
omit=peer
6+
7+
registry=https://registry.npmjs.org
8+
9+
; Prefer specifying dependency versions explicitly. Renovate will open
10+
; pull requests that handle most dependency updates for you.
211
save-exact=true
12+
13+
; Treat conflicting peerDependencies as a failure,
14+
; even if npm can reasonably guess an appropriate resolution.
15+
strict-peer-deps=true
16+
17+
; Renovate will update packageManager for us.
18+
update-notifier=false

0 commit comments

Comments
 (0)