Update .gitea/workflows/build.yml

This commit is contained in:
Zakary Timson 2023-07-27 01:56:20 +00:00
parent 55e8202b2b
commit 5f01faaf9d

View File

@ -12,7 +12,7 @@ jobs:
uses: actions/checkout@v3
- name: Install Dependencies
run: npm i
- name: Cache Dependencies
- name: Cache Dependencies
if: success()
uses: actions/cache@v3
with:
@ -20,14 +20,14 @@ jobs:
key: ${{ hashFile('package-lock.json') }}
Build_Node:
runs-on: Docker
container:
image: node:16
runs-on: Docker
container:
image: node:16
steps:
- name: Restore Cached Dependencies
uses: actions/cache/restore@v3
with:
path: node_modules
key: ${{ hashFile('package-lock.json') }}
- name: Build
run: npm run build
- name: Restore Cached Dependencies
uses: actions/cache/restore@v3
with:
path: node_modules
key: ${{ hashFile('package-lock.json') }}
- name: Build
run: npm run build