291st/.github/workflows/build.yaml
Zakary Timson 5d61191496
Some checks failed
Build / Install NPM dependencies (push) Successful in 1m13s
Build / Docker (push) Failing after 1m34s
Update .github/workflows/build.yaml
2023-07-28 14:01:28 +00:00

35 lines
894 B
YAML

name: Build
run-name: ${{ gitea.actor }} is building
on: [push, workflow_dispatch]
jobs:
Dependencies:
name: Install NPM dependencies
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
Docker:
uses: ztimson/291st/.github/workflows/docker-publish.yaml@develop
with:
image: 291st
secrets:
registry_user: ztimson
registry_pass: ${{secrets.deploy_token}}