Update .github/workflows/build.yaml
All checks were successful
Build / Dependencies_NPM (push) Successful in 1m11s
All checks were successful
Build / Dependencies_NPM (push) Successful in 1m11s
This commit is contained in:
26
.github/workflows/build.yaml
vendored
Normal file
26
.github/workflows/build.yaml
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
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
|
Reference in New Issue
Block a user