Update .gitea/workflows/build.yml
Some checks failed
Build / Dependencies_NPM (push) Failing after 47s
Build / Build_Node (push) Failing after 4s

This commit is contained in:
Zakary Timson 2023-07-27 02:04:08 +00:00
parent d0fa2c6490
commit 408a6c81ea

View File

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