File tree Expand file tree Collapse file tree 3 files changed +88
-1967
lines changed Expand file tree Collapse file tree 3 files changed +88
-1967
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ permissions :
4+ contents : write
5+
6+ on :
7+ push :
8+ tags :
9+ - ' v*'
10+
11+ jobs :
12+ release :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v3
16+ with :
17+ fetch-depth : 0
18+
19+ - uses : actions/setup-node@v3
20+ with :
21+ node-version : 18
22+ registry-url : https://registry.npmjs.org/
23+
24+ - run : corepack enable
25+
26+ - name : Install
27+ run : pnpm i
28+
29+ - name : Build
30+ run : pnpm run build
31+
32+ - name : Publish to npm
33+ run : npm publish --access public
34+ env :
35+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
36+
37+ - run : npx changelogithub
38+ env :
39+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1616 "build" : " shx rm -rf ./dist && tsup src/index.ts --dts --format esm" ,
1717 "dev" : " vite" ,
1818 "prepublishOnly" : " npm run build" ,
19- "release" : " np --no-2fa " ,
19+ "release" : " tsc --noEmit && bumpp --all " ,
2020 "test" : " vitest run" ,
2121 "test-dev" : " vitest watch"
2222 },
3131 "author" : " arnoson" ,
3232 "license" : " MIT" ,
3333 "devDependencies" : {
34+ "bumpp" : " ^8.2.1" ,
3435 "jsdom" : " ^20.0.0" ,
35- "np" : " ^7.6.2" ,
3636 "shx" : " ^0.3.4" ,
3737 "tsup" : " ^6.0.1" ,
3838 "typescript" : " ^4.8.4" ,
You can’t perform that action at this time.
0 commit comments