Update .github/workflows/build.yaml

This commit is contained in:
Zakary Timson 2023-07-28 13:28:53 +00:00
parent b7c824bf6e
commit f5a922469f

View File

@ -3,7 +3,8 @@ run-name: ${{ gitea.actor }} is building
on: [push] on: [push]
jobs: jobs:
Dependencies_NPM: Dependencies:
name: Install NPM dependencies
runs-on: Docker runs-on: Docker
container: container:
image: node:16 image: node:16
@ -24,3 +25,11 @@ jobs:
path: ./node_modules path: ./node_modules
key: node_modules key: node_modules
restore-keys: node_modules restore-keys: node_modules
Docker:
name: Build & publish docker image
needs: Dependencies
runs-on: Docker
container:
image: docker
steps:
- uses: ./docker-publish.yaml