From e2aa3bffb760baada7bb5315bdd80606cc91bdc2 Mon Sep 17 00:00:00 2001 From: James Liu Date: Sun, 5 May 2024 11:54:04 -0700 Subject: [PATCH] Use another syntax for node version: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs --- .github/workflows/setup-node/action.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/setup-node/action.yml b/.github/workflows/setup-node/action.yml index 5b7e06c..d7823f2 100644 --- a/.github/workflows/setup-node/action.yml +++ b/.github/workflows/setup-node/action.yml @@ -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') }}