Skip to content

Commit 984d641

Browse files
committed
chore: generate lockfile for audit, install speed
1 parent 72db714 commit 984d641

File tree

5 files changed

+15875
-22
lines changed

5 files changed

+15875
-22
lines changed

.github/workflows/pull-request.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,12 @@ jobs:
2020
- name: Install Node.js
2121
uses: actions/setup-node@v4
2222
with:
23-
node-version: 20
23+
node-version: 22
2424

25-
- name: Install dependencies
26-
run: npm install
25+
- run: npm ci
2726

28-
- name: Lint
29-
run: npm run lint
27+
- run: npm run lint
3028

31-
- name: Run all tests
32-
run: npm test
29+
- run: npm test
3330

34-
- name: Generate and check types
35-
run: npm run types
31+
- run: npm run types

.github/workflows/release.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,17 @@ jobs:
2828
- name: Install Node.js
2929
uses: actions/setup-node@v4
3030
with:
31-
node-version: 20
31+
node-version: 22
3232

33-
- name: Install dependencies
34-
run: npm install
33+
- run: npm ci
3534

36-
- name: Lint
37-
run: npm run lint
35+
- run: npm run lint
3836

39-
- name: Run all tests
40-
run: npm test
37+
- run: npm test
4138

42-
- name: Generate and check types
43-
run: npm run types
39+
- run: npm run types
4440

45-
- name: Release and publish
46-
run: npx semantic-release
41+
- run: npx semantic-release
4742
env:
4843
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4944
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ coverage/
66
node_modules/
77
*.log
88
.vscode
9-
package-lock.json
109
node_modules
1110
node_modules/**/*
1211
.DS_Store

.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)