Skip to content

Commit 4c63d6d

Browse files
authored
actions/cache@v2 and actions/setup-node@v2 (#404)
* actions/cache@v2 and actions/setup-node@v2 * correction * v2-beta * oops
1 parent 7ec61c1 commit 4c63d6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/node.js.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v2
2323
- name: Use Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v1
24+
uses: actions/setup-node@v2-beta
2525
with:
2626
node-version: ${{ matrix.node-version }}
2727
- name: Get yarn cache directory path
2828
id: yarn-cache-dir-path
2929
run: echo "::set-output name=dir::$(yarn cache dir)"
30-
- uses: actions/cache@v1
30+
- uses: actions/cache@v2
3131
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
3232
with:
3333
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}

0 commit comments

Comments
 (0)