291st/.github/workflows/build.yaml
Zakary Timson b7c824bf6e
All checks were successful
Build / Dependencies_NPM (push) Successful in 1m11s
Update .github/workflows/build.yaml
2023-07-28 13:25:58 +00:00

27 lines
646 B
YAML

name: Build
run-name: ${{ gitea.actor }} is building
on: [push]
jobs:
Dependencies_NPM:
runs-on: Docker
container:
image: node:16
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Restore Cached Dependencies
uses: actions/cache/restore@v3
with:
path: ./node_modules
key: node_modules
restore-keys: node_modules
- name: Install Dependencies
run: npm ci
- name: Cache Dependencies
uses: actions/cache@v3
with:
path: ./node_modules
key: node_modules
restore-keys: node_modules