-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Victor Fernandes
committed
Jan 23, 2024
1 parent
ef59625
commit 6948398
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Setup node | ||
description: "Prepare node env and SSH key (needs to be run after checkout code)" | ||
inputs: | ||
node-version: | ||
description: "Node version" | ||
required: false | ||
default: "18" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Setup Node.js environment | ||
uses: actions/setup-node@v4 | ||
with: | ||
cache: "npm" | ||
node-version: ${{ inputs.node-version }} | ||
registry-url: https://npm.pkg.github.com/ | ||
scope: "@rows" | ||
cache-dependency-path: "**/package-lock.json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters