mirror of
https://github.com/actions/github-script.git
synced 2026-04-08 07:00:05 +00:00
Add install deps action to reuse between workflows
This commit is contained in:
parent
30d8f852ac
commit
a903cf2d66
5 changed files with 18 additions and 41 deletions
11
.github/actions/install-dependencies/action.yml
vendored
Normal file
11
.github/actions/install-dependencies/action.yml
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
name: 'Install dependencies'
|
||||
description: 'Set up node and install dependencies'
|
||||
runs:
|
||||
using: 'composite'
|
||||
steps:
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '20.x'
|
||||
cache: npm
|
||||
|
||||
- run: npm ci
|
||||
Loading…
Add table
Add a link
Reference in a new issue