File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 44 schedule :
55 # Cron job every day at 12:00
66 # https://crontab.guru/#0_12_*_*_*
7- - cron : ' 0 0 * * *'
7+ - cron : ' 0 0 * * *'
88
99jobs :
1010 test :
Original file line number Diff line number Diff line change @@ -3,17 +3,19 @@ name: test
33on :
44 push :
55 branches :
6- - master
6+ - master
77 pull_request :
88 branches :
9- - master
9+ - master
1010
1111jobs :
1212 test :
1313 runs-on : ubuntu-latest
1414 steps :
1515 - name : Checkout
1616 uses : actions/checkout@v3
17+ with :
18+ token : ${{ secrets.GH_TOKEN }}
1719 - name : Setup Node.js
1820 uses : actions/setup-node@v3
1921 with :
2426 run : npm test
2527 - name : Release
2628 if : ${{ github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, 'release') }}
27- shell : ' script -q -e -c "bash {0}"'
29+ shell : ' script -q -e -c "bash {0}" > /dev/null'
30+ env :
31+ CONVENTIONAL_GITHUB_RELEASER_TOKEN : ${{ secrets.GH_TOKEN }}
32+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
2833 run : |
2934 git config --global user.email ${{ secrets.GIT_EMAIL }}
3035 git config --global user.name ${{ secrets.GIT_USERNAME }}
31- CONVENTIONAL_GITHUB_RELEASER_TOKEN=${{ secrets.GITHUB_TOKEN }} NPM_TOKEN=${{ secrets.NPM_TOKEN }} npm run release
36+ npm run release
You can’t perform that action at this time.
0 commit comments