my-portfolio/.gitea/workflows/node-build.yaml
ChrQR 04876120d7
All checks were successful
Node.js CI / build_app (push) Successful in 13s
maybe?
2024-04-27 09:46:13 +02:00

20 lines
404 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'