File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 1616 run : |
1717 git config user.name "${GITHUB_ACTOR}"
1818 git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
19- - run : npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
2019 - run : npm install
2120 - run : npm test
2221 - uses : codecov/codecov-action@v2
2928 if : github.ref == 'refs/heads/master'
3029 runs-on : ubuntu-latest
3130 steps :
31+ - uses : actions/checkout@v2
32+ with :
33+ fetch-depth : 0
34+ - name : git config
35+ run : |
36+ git config user.name "${GITHUB_ACTOR}"
37+ git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
38+ - run : npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
39+ - run : npm install
3240 - run : npm run release
3341 env :
3442 GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
You can’t perform that action at this time.
0 commit comments