File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ jobs:
1111 if : github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'release')
1212 runs-on : Ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v2
15- - uses : actions/setup-node@v2
14+ - uses : actions/checkout@v4
15+ - uses : actions/setup-node@v4
1616 with :
17- registry-url : " https://registry.npmjs.org"
17+ registry-url : ' https://registry.npmjs.org'
1818 - run : git switch master
1919 - run : |
2020 if [ -f "yarn.lock" ]; then
2626 env :
2727 GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
2828 NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
29- SLACK_INCOMING_HOOK : ${{ secrets.SLACK_INCOMING_HOOK }}
29+ SLACK_INCOMING_HOOK : ${{ secrets.SLACK_INCOMING_HOOK }}
Original file line number Diff line number Diff line change 1010
1111jobs :
1212 test :
13- name : " Test on Node.js ${{ matrix.node }} OS: ${{matrix.os}}"
13+ name : ' Test on Node.js ${{ matrix.node }} OS: ${{matrix.os}}'
1414 runs-on : ${{ matrix.os }}
1515 strategy :
1616 matrix :
@@ -20,15 +20,15 @@ jobs:
2020 node : [12, 14]
2121 steps :
2222 - name : Checkout
23- uses : actions/checkout@v2
23+ uses : actions/checkout@v4
2424 - name : Setup Node.js ${{ matrix.node }}
25- uses : actions/setup-node@v2
25+ uses : actions/setup-node@v4
2626 with :
2727 node-version : ${{ matrix.node }}
2828 - name : Get yarn cache directory path
2929 id : yarn-cache-dir-path
30- run : echo "::set-output name= dir:: $(yarn cache dir)"
31- - uses : actions/cache@v2
30+ run : echo "dir= $(yarn cache dir)" >> $GITHUB_OUTPUT
31+ - uses : actions/cache@v4
3232 id : yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
3333 with :
3434 path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
You can’t perform that action at this time.
0 commit comments