Skip to content

Commit 97b5939

Browse files
committed
chore(ga-setup): update node in setup action
1 parent e3fe527 commit 97b5939

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/actions/setup/action.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: 'Full CI env setup (setup node & restore/install dependencies)'
44
inputs:
55
node_version:
66
description: 'Node version to use'
7-
default: '16.10.0'
7+
default: '16.20.2'
88

99
runs:
1010
using: composite
@@ -20,9 +20,9 @@ runs:
2020
uses: actions/cache@v3
2121
with:
2222
path: "**/node_modules"
23-
key: ${{ runner.os }}-dependency-hash-${{ hashFiles('yarn.lock') }}
23+
key: ${{ runner.os }}-node-v${{ inputs.node_version }}-dependency-hash-${{ hashFiles('yarn.lock') }}
2424
restore-keys: |
25-
${{ runner.os }}-dependency-hash-
25+
${{ runner.os }}-node-v${{ inputs.node_version }}-dependency-hash-
2626
2727
- name: "Install dependencies"
2828
# Skip install here because the cache already has an entry, we won't be able to update it, so it's unnecessary to try and rebuild it

0 commit comments

Comments
 (0)