Skip to content

Commit

Permalink
Try using setup-node@v3 action
Browse files Browse the repository at this point in the history
  • Loading branch information
ericyd committed Nov 18, 2022
1 parent ec83326 commit c471062
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '16'

Expand All @@ -27,12 +27,9 @@ jobs:
uses: actions/cache@v3
id: npm-cache
with:
path: |
${{ steps.npm-cache-dir.outputs.dir }}
~/.cache/Cypress
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
restore-keys: ${{ runner.os }}-node-

- name: Install dependencies
run: npm ci --cache ${{ steps.npm-cache-dir.outputs.dir }}
Expand Down

0 comments on commit c471062

Please sign in to comment.