291st/.github/workflows/build.yaml
Zakary Timson d42fc0c52a
Some checks failed
Build / Install dependencies (push) Successful in 1m15s
Build / Docker (push) Failing after 0s
Update .github/workflows/build.yaml
2023-07-28 14:30:52 +00:00

35 lines
849 B
YAML

name: Build
on: [push, workflow_dispatch]
jobs:
dependencies:
name: Install 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:
needs: dependencies
uses: ztimson/actions/docker.yaml@develop
with:
image: 291st
secrets:
registry_user: ztimson
registry_pass: ${{secrets.deploy_token}}