File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 types : [ created ]
99
1010jobs :
11- setup :
11+ build :
1212 runs-on : ubuntu-latest
1313 steps :
1414 - uses : actions/checkout@v3
1515 - uses : actions/setup-node@v3
1616 with :
1717 node-version : 18
1818 registry-url : https://registry.npmjs.org/
19- - name : Git setup
20- if : success()
21- run : |
22- git config --local user.email "action@github.com"
23- git config --local user.name "GitHub Action"
24-
25- build :
26- needs : setup
27- runs-on : ubuntu-latest
28- steps :
29- - uses : actions/checkout@v3
3019 - run : npm i
3120 - run : npm run build
3221
3524 runs-on : ubuntu-latest
3625 steps :
3726 - uses : actions/checkout@v3
27+ - uses : actions/setup-node@v3
28+ with :
29+ node-version : 18
30+ registry-url : https://registry.npmjs.org/
31+ - name : Git setup
32+ run : |
33+ git config --local user.email "action@github.com"
34+ git config --local user.name "GitHub Action"
3835 - run : npm version ${{ github.event.release.tag_name }} --no-git-tag-version
3936 - run : git add .
4037 - run : git commit -m "Release v${{ github.event.release.tag_name }}"
You can’t perform that action at this time.
0 commit comments