21 lines
462 B
YAML
21 lines
462 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: Install Dependencies
|
|
run: npm i
|
|
- name: Cache Dependencies
|
|
uses: actions/cache@v3
|
|
with:
|
|
path: |
|
|
node_modules
|
|
key: npm-${{ hashFiles('package-lock.json') }}
|