Skip to content

Commit e30ebb3

Browse files
committed
chore: generate lockfile for audit, install speed
1 parent c91b953 commit e30ebb3

File tree

4 files changed

+12156
-21
lines changed

4 files changed

+12156
-21
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,17 @@ jobs:
1818
- name: Setup Node.js
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version: 20
21+
node-version: 22
2222

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

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

29-
- name: npm types
30-
run: npm run types
27+
- run: npm run types
3128

32-
- name: npm test
33-
run: npm test
29+
- run: npm test
3430

35-
- name: npx semantic-release
36-
run: npx semantic-release
31+
- run: npx semantic-release
3732
env:
3833
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3934
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/test.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest, macOS-latest, windows-latest]
16-
node-version: [18, 20]
16+
node-version: [20, 22]
1717
runs-on: ${{ matrix.os }}
1818

1919
steps:
@@ -24,14 +24,10 @@ jobs:
2424
with:
2525
node-version: ${{ matrix.node-version }}
2626

27-
- name: npm install
28-
run: npm install
27+
- run: npm ci
2928

30-
- name: npm lint
31-
run: npm run lint
29+
- run: npm run lint
3230

33-
- name: npm types
34-
run: npm run types
31+
- run: npm run types
3532

36-
- name: npm test
37-
run: npm test
33+
- run: npm test

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