my-portfolio/.gitea/workflows/node-build.yaml
ChrQR 4955cec8cb
Some checks failed
Node.js CI / build (push) Failing after 5s
fixed ci
2024-04-27 09:20:37 +02:00

17 lines
319 B
YAML

name: Node.js CI
on: [push]
jobs:
build:
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
- run: npm test