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- build :
11+ setup :
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 :
1929 - run : npm i
2030 - run : npm run build
21-
2231
2332 publish :
2433 needs : build
2534 runs-on : ubuntu-latest
2635 steps :
27- - uses : actions/checkout@v3
2836 - run : npm version ${{ github.event.release.tag_name }} --no-git-tag-version
2937 - run : git add .
3038 - run : git commit -m "Release v${{ github.event.release.tag_name }}"
You can’t perform that action at this time.
0 commit comments