Skip to content

Commit

Permalink
Use another syntax for node version: https://docs.github.com/en/actio…
Browse files Browse the repository at this point in the history
  • Loading branch information
zijianjoy committed May 5, 2024
1 parent 641d216 commit e2aa3bf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/setup-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,15 @@
name: setup-node
description: "Setup Node.js ⚙️ - Cache dependencies ⚡ - Install dependencies 🔧"
runs:
using: "composite"
using: "node20"
steps:
- name: Setup Node.js ⚙️
uses: actions/setup-node@v4
with:
node-version: 20

- name: Cache dependencies ⚡
id: cache_dependencies
uses: actions/cache@v3
with:
node-version: 20
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}

Expand Down

0 comments on commit e2aa3bf

Please sign in to comment.