my-portfolio/.gitea/workflows/node-build.yaml
ChrQR 4f5c20d24f
Some checks failed
Node.js CI / build_app (push) Successful in 13s
Node.js CI / build_image (push) Failing after 0s
yis!
2024-04-27 09:47:02 +02:00

20 lines
394 B
YAML

name: Node.js CI
on: [push]
jobs:
build_app:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm ci
- run: npm run build --production --if-present
build_image:
needs: build_app
runs:
using: 'docker'
image: 'Dockerfile'