Skip to content

Commit

Permalink
Updated setup-node GH action to the latest version (#949)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuthan committed Nov 22, 2022
1 parent be76228 commit 9d1bdd3
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,17 @@ description: Setup build
inputs:
node-version:
required: true
default: "16.15.0"
default: '16.15.0'
description: Node version

runs:
using: composite
steps:
- name: Use Node.js ${{ inputs.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ inputs.node-version }}

- name: Cache Node.js modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
${{ runner.OS }}-
cache: 'npm'

- name: Install dependencies
shell: bash
Expand Down

0 comments on commit 9d1bdd3

Please sign in to comment.