File tree Expand file tree Collapse file tree 7 files changed +392
-453
lines changed
Expand file tree Collapse file tree 7 files changed +392
-453
lines changed Original file line number Diff line number Diff line change @@ -2,26 +2,26 @@ name: CI
22
33on :
44 push :
5- branches : [ main ]
5+ branches : [main]
66 pull_request :
7- branches : [ main ]
7+ branches : [main]
88
99jobs :
1010 lint :
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v4
14- - name : Install pnpm
15- uses : pnpm/action-setup@v4
16- - name : Use Node.js 22
17- uses : actions/setup-node@v4
18- with :
19- node-version : ' 22 '
20- cache : ' pnpm'
21- - name : Install dependencies
22- run : pnpm install --frozen-lockfile
23- - run : pnpm run build
24- - name : Run ESLint
25- run : pnpm run lint
26- - name : Ensure no changes
27- run : git diff --exit-code
13+ - uses : actions/checkout@v4
14+ - name : Install pnpm
15+ uses : pnpm/action-setup@v4
16+ - name : Use Node.js 22
17+ uses : actions/setup-node@v4
18+ with :
19+ node-version : " 22 "
20+ cache : " pnpm"
21+ - name : Install dependencies
22+ run : pnpm install --frozen-lockfile
23+ - run : pnpm run build
24+ - name : Run ESLint
25+ run : pnpm run lint
26+ - name : Ensure no changes
27+ run : git diff --exit-code
Original file line number Diff line number Diff line change 77 runs-on : ubuntu-latest
88 permissions :
99 contents : read
10- id-token : write
10+ id-token : write
1111 steps :
1212 - uses : actions/checkout@v4
1313 - uses : actions/setup-node@v4
2121 - run : pnpm install --frozen-lockfile
2222 - run : pnpm publish --provenance
2323 env :
24- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
24+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1- # Use pnpm for package management
1+ # Use npm for package management
22engine-strict = true
3- auto-install-peers = true
4- strict-peer-dependencies = false
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments