291st/.github/workflows/Continues Integration.yaml
Zakary Timson ff637c9a8a
Some checks failed
Continues Integration / Push docker image (push) Failing after 0s
Continues Integration / Install dependencies (push) Successful in 1m11s
Update .github/workflows/Continues Integration.yaml
2023-07-28 15:14:12 +00:00

43 lines
1.0 KiB
YAML

name: Continues Integration
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:
name: Push docker image
runs-on: Docker
container:
image: docker:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
options: --entrypoint /bin/sh
steps:
- uses: ztimson/actions/docker@develop
with:
image: 291st
secrets:
registry_user: ztimson
registry_pass: ${{secrets.deploy_token}}