File tree Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Original file line number Diff line number Diff line change 6
6
- main
7
7
8
8
jobs :
9
- npmjs :
9
+ release :
10
10
runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Repo checkout
13
+ uses : actions/checkout@v4
14
+
15
+ - name : Bump version and push tag
16
+ id : bump
17
+
18
+ with :
19
+ github_token : ${{ secrets.GITHUB_TOKEN }}
20
+ release_branches : main
21
+
22
+ - name : Release tag
23
+ uses : ncipollo/release-action@v1
24
+ with :
25
+ tag : ${{ steps.bump.outputs.new_tag }}
26
+ generateReleaseNotes : true
27
+
28
+ publish-npmjs :
29
+ runs-on : ubuntu-latest
30
+ needs : [release]
11
31
permissions :
12
32
contents : read
13
33
id-token : write
27
47
env :
28
48
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
29
49
30
- github :
50
+ publish- github :
31
51
runs-on : ubuntu-latest
52
+ needs : [release]
32
53
permissions :
33
54
contents : read
34
55
id-token : write
You can’t perform that action at this time.
0 commit comments