feat: add 'setup' composite action
This commit is contained in:
parent
bd0a8206ef
commit
4cca67925f
16
.github/actions/setup/action.yml
vendored
Normal file
16
.github/actions/setup/action.yml
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
name: Setup
|
||||
description: Installs Node, Enables Corepack and caches pnpm.
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
|
||||
steps:
|
||||
- name: Enable corepack
|
||||
run: corepack enable
|
||||
shell: bash
|
||||
|
||||
- name: Setup node & pnpm
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: lts/*
|
||||
cache: pnpm
|
||||
Loading…
Reference in New Issue
Block a user