File tree 2 files changed +11
-9
lines changed
2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ name: Release
2
2
on :
3
3
release :
4
4
types : [published]
5
+ push :
6
+ branches : [main]
5
7
6
8
permissions :
7
9
contents : read # for checkout
@@ -25,16 +27,16 @@ jobs:
25
27
uses : actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8
26
28
with :
27
29
node-version : ' 20'
28
- - name : Update to latest npm (temporary fix for audit below)
29
- run : npm install --global npm
30
30
- name : Install dependencies
31
31
run : npm clean-install
32
32
- name : Verify the integrity of provenance attestations and registry signatures for installed dependencies
33
33
run : npm audit signatures
34
- - name : Publish
34
+ - name : Prepublish
35
+ run : npm run prepublish
36
+ - name : Release
37
+ if : success()
35
38
env :
36
- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
37
- run : |
38
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
39
- npm publish --access public
40
- shell : bash
39
+ CI : true
40
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN}}
42
+ run : npx semantic-release
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @deriv-com/ui" ,
3
3
"private" : false ,
4
- "version" : " 1.10.7 " ,
4
+ "version" : " 0.0.0-development " ,
5
5
"type" : " module" ,
6
6
"main" : " dist/main.js" ,
7
7
"files" : [
You can’t perform that action at this time.
0 commit comments