File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ name: Release
22
33permissions :
44 contents : write
5+ id-token : write
56
67on :
78 push :
1617 with :
1718 fetch-depth : 0
1819
20+ - name : Install pnpm
21+ uses : pnpm/action-setup@v4
22+
1923 - uses : actions/setup-node@v4
2024 with :
2125 node-version : lts/*
26+ cache : pnpm
27+
28+ # Ensure npm 11.5.1 or later is installed
29+ - name : Update npm
30+ run : npm install -g npm@latest
31+
32+ - run : pnpm i
33+
34+ - run : pnpm run build
35+
36+ - run : npm publish
2237
2338 - run : npx changelogithub
2439 env :
Original file line number Diff line number Diff line change 7272 "dev" : " vite serve playground" ,
7373 "build" : " tsup" ,
7474 "update" : " node download.mjs" ,
75- "release" : " pnpm lint && pnpm run build && bumpp --all && npm publish "
75+ "release" : " pnpm lint && pnpm run build && bumpp --all"
7676 },
7777 "publishConfig" : {
7878 "access" : " public" ,
You can’t perform that action at this time.
0 commit comments