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 1
1
{
2
2
"name" : " applause-button" ,
3
3
"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 " ,
5
5
"main" : " dist/applause-button.js" ,
6
6
"type" : " module" ,
7
7
"license" : " MIT" ,
20
20
"puppeteer" : " ^23.2.2" ,
21
21
"rollup" : " ^4.21.2" ,
22
22
"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"
26
25
},
27
26
"scripts" : {
28
27
"test" : " yarn run test:prettier && yarn run test:jest" ,
31
30
"test:serve" : " serve -l 8081" ,
32
31
"build" : " rollup -c" ,
33
32
"watch" : " rollup -c -w" ,
34
- "prepublish " : " yarn run build" ,
33
+ "prepack " : " yarn run build" ,
35
34
"travis-deploy-once" : " travis-deploy-once" ,
36
35
"semantic-release" : " semantic-release"
37
36
},
48
47
"engines" : {
49
48
"node" : " >=18.17.0"
50
49
},
50
+ "publishConfig" : {
51
+ "provenance" : true
52
+ },
51
53
"browserslist" : [" partially supports custom-elementsv1" ],
52
54
"packageManager" : " yarn@1.22.22"
53
55
}
You can’t perform that action at this time.
0 commit comments