feat: add 'setup' composite action

This commit is contained in:
MuhammadM1998 2024-05-24 21:17:43 +03:00
parent bd0a8206ef
commit 4cca67925f

16
.github/actions/setup/action.yml vendored Normal file
View 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