Skip to content

Commit

Permalink
feat(yarn-install): add node-version input
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Dec 20, 2021
1 parent 56cc31b commit 24348a9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions yarn-install/action.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
name: Install yarn dependencies
description: Install yarn dependencies from scratch or from cache

inputs:
node-version:
description: 'The Node.js version to use'
default: '16'
required: false

runs:
using: composite
steps:
- uses: myparcelnl/actions/setup-node@v1
with:
node-version: ${{ inputs.node-version }}

- name: 'Get yarn cache directory path'
id: yarn-cache-dir-path
Expand Down

0 comments on commit 24348a9

Please sign in to comment.