File tree Expand file tree Collapse file tree 4 files changed +625
-1272
lines changed
Expand file tree Collapse file tree 4 files changed +625
-1272
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+ on :
3+ push :
4+ branches :
5+ - ' master'
6+
7+ jobs :
8+ release :
9+ name : Release master
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : write # to publish a GitHub release
13+ issues : write # to comment on released issues
14+ pull-requests : write # to comment on released PRs
15+ id-token : write # to enable provenance
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v4
19+ with :
20+ fetch-depth : 0
21+ - name : Setup Node
22+ uses : actions/setup-node@v4
23+ with :
24+ node-version : ' lts/*'
25+ - name : Install dependencies
26+ run : |
27+ corepack enable
28+ yarn install --frozen-lockfile
29+ - name : Verify dependency provenance
30+ run : yarn npm audit signatures
31+ - name : Perform release
32+ env :
33+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
35+ run : yarn run semantic-release
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11{
22 "name" : " applause-button" ,
33 "description" : " A zero-configuration button for adding applause / claps / kudos to web pages and blog-posts" ,
4- "version" : " 3.4.0 " ,
4+ "version" : " 0.0.0-semantically-managed " ,
55 "main" : " dist/applause-button.js" ,
66 "type" : " module" ,
77 "license" : " MIT" ,
2020 "puppeteer" : " ^23.2.2" ,
2121 "rollup" : " ^4.21.2" ,
2222 "rollup-plugin-import-css" : " ^3.5.1" ,
23- "semantic-release" : " ^22.0.12" ,
24- "serve" : " ^14.2.3" ,
25- "travis-deploy-once" : " ^5.0.11"
23+ "semantic-release" : " ^24.1.2" ,
24+ "serve" : " ^14.2.3"
2625 },
2726 "scripts" : {
2827 "test" : " yarn run test:prettier && yarn run test:jest" ,
3130 "test:serve" : " serve -l 8081" ,
3231 "build" : " rollup -c" ,
3332 "watch" : " rollup -c -w" ,
34- "prepublish " : " yarn run build" ,
33+ "prepack " : " yarn run build" ,
3534 "travis-deploy-once" : " travis-deploy-once" ,
3635 "semantic-release" : " semantic-release"
3736 },
4847 "engines" : {
4948 "node" : " >=18.17.0"
5049 },
50+ "publishConfig" : {
51+ "provenance" : true
52+ },
5153 "browserslist" : [" partially supports custom-elementsv1" ],
5254 "packageManager" : " yarn@1.22.22"
5355}
You can’t perform that action at this time.
0 commit comments