Improve GitHub Actions (#3451)

This commit is contained in:
Francisco Giordano
2022-06-02 19:42:49 -03:00
committed by GitHub
parent 5e00787199
commit 04204b8fb9
7 changed files with 87 additions and 97 deletions

20
.github/actions/setup/action.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Setup
runs:
using: composite
steps:
- uses: actions/setup-node@v3
with:
node-version: 14.x
cache: npm
- uses: actions/cache@v3
id: cache
with:
path: '**/node_modules'
key: npm-v3-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: npm ci --prefer-offline
shell: bash
if: steps.cache.outputs.cache-hit != 'true'
env:
SKIP_COMPILE: true