File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Create Release for v1
2
+
3
+ on :
4
+ workflow_dispatch :
5
+
6
+ jobs :
7
+ bump-version :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - name : Checkout Code
11
+ uses : actions/checkout@v3
12
+
13
+ - name : Automated Version Bump
14
+ uses : phips28/gh-action-bump-version@v9.1.0
15
+ env :
16
+ GITHUB_USER : ${{ secrets.CI_NAME }}
17
+ GITHUB_EMAIL : ${{ secrets.CI_EMAIL }}
18
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
19
+ with :
20
+ tag-prefix : ' v'
21
+
22
+ - name : Set up Node.js
23
+ uses : actions/setup-node@v3
24
+ with :
25
+ node-version : 16
26
+ registry-url : https://registry.npmjs.org/
27
+
28
+ # - name: Publish NPM
29
+ # run: |
30
+ # npm ci
31
+ # npm run build
32
+ # npm publish --tag v1-latest
33
+ # env:
34
+ # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 18
18
GITHUB_USER : ${{ secrets.CI_NAME }}
19
19
GITHUB_EMAIL : ${{ secrets.CI_EMAIL }}
20
20
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
21
+ with :
22
+ tag-prefix : ' v'
21
23
22
24
- name : Set up Node.js
23
25
uses : actions/setup-node@v3
You can’t perform that action at this time.
0 commit comments