291st/.gitea/workflows/build.yml
ztimson 6860bf3c40
All checks were successful
Build / Dependencies_NPM (push) Successful in 1m48s
Update .gitea/workflows/build.yml
2023-07-27 03:36:40 +00:00

25 lines
567 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
- name: Install Dependencies
run: npm i
- name: Cache Dependencies
uses: actions/cache@v3
with:
path: node_modules
key: node_modules