File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed
Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 1818
1919 steps :
2020 - uses : actions/checkout@v3
21+ with :
22+ fetch-depth : 0
23+ token : ${{ secrets.GITHUB_TOKEN_PARAM }}
2124
2225 - name : Setting up ${{ matrix.node-version }}
2326 uses : actions/setup-node@v3
4043 - name : Release preview
4144 run : |
4245 npx auto shipit --dry-run
43- git config --global user.name 'Patrick Ruhkopf [bot]'
44- git config --global user.email 'restfulhead@users.noreply.github.com'
45- git push
4646
4747 env :
48- GH_TOKEN : ${{ secrets.GH_TOKEN }}
48+ GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
Original file line number Diff line number Diff line change 1111
1212 steps :
1313 - uses : actions/checkout@v3
14+ with :
15+ fetch-depth : 0
16+ token : ${{ secrets.GITHUB_TOKEN_PARAM }}
1417
1518 - name : Setting up Node.js
1619 uses : actions/setup-node@v3
2528 run : npm run build:prod
2629
2730 - name : Publish
28- run : npx auto shipit
31+ run : |
32+ git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
33+ git config user.name "$GITHUB_ACTOR"
34+ npx auto shipit
35+ git push
2936 env :
30- GH_TOKEN : ${{ secrets.GH_TOKEN }}
37+ GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
3138 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments