File tree Expand file tree Collapse file tree 8 files changed +2866
-4634
lines changed Expand file tree Collapse file tree 8 files changed +2866
-4634
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,12 @@ jobs:
1919 node-version : 22
2020 check-latest : true
2121
22- - run : yarn install --immutable
22+ - run : corepack enable
2323
24- - run : yarn format:check
24+ - run : pnpm install --frozen-lockfile
2525
26- - run : yarn build
26+ - run : pnpm format:check
2727
28- - run : yarn test
28+ - run : pnpm build
29+
30+ - run : pnpm test
Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ permissions: read-all
1010jobs :
1111 publish :
1212 runs-on : ubuntu-latest
13+
14+ permissions :
15+ contents : read
16+ id-token : write
17+
1318 steps :
1419 - name : Checkout tree
1520 uses : actions/checkout@v4
@@ -19,11 +24,12 @@ jobs:
1924 with :
2025 node-version : 22
2126 check-latest : true
27+ registry-url : https://registry.npmjs.org
2228
23- - run : yarn install --immutable
29+ - run : corepack enable
2430
25- - run : yarn build
31+ - run : pnpm install --frozen-lockfile
2632
27- - run : yarn npm publish --tolerate-republish
33+ - run : pnpm publish --no-git-checks
2834 env :
29- NPM_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
35+ NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
Original file line number Diff line number Diff line change 1- /.yarn /*
2- ! /.yarn /releases
31/dist /
42/node_modules /
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3636 ],
3737 "scripts" : {
3838 "build" : " tsup" ,
39- "ci" : " biome ci ." ,
4039 "cli:help" : " node index.js -h" ,
4140 "cli:json" : " node index.js -r -d -p ./swagger-test-cli.json -n swagger-test-cli.ts" ,
4241 "cli:yaml" : " node index.js -r -d -p ./swagger-test-cli.yaml -n swagger-test-cli.ts" ,
4342 "format" : " biome format --write ." ,
4443 "format:check" : " biome format ." ,
44+ "lint" : " biome check" ,
45+ "prepublishOnly" : " pnpm build" ,
4546 "test" : " vitest run"
4647 },
4748 "dependencies" : {
7273 "tsup" : " 8.2.3" ,
7374 "vitest" : " 2.0.5"
7475 },
75- "packageManager" : " yarn@4.3.1 " ,
76+ "packageManager" : " pnpm@9.6.0 " ,
7677 "engines" : {
7778 "node" : " >=18.0.0"
7879 },
7980 "publishConfig" : {
8081 "access" : " public" ,
82+ "provenance" : true ,
8183 "registry" : " https://registry.npmjs.org"
8284 }
8385}
You can’t perform that action at this time.
0 commit comments