Files
haopengzhan 162a38aca3
Node.js CI / build (18.x) (push) Failing after 6m31s
Node.js CI / build (20.x) (push) Failing after 3h14m55s
Initial commit
feat: scaffolded basic auth login and dashboard(empty)
2025-09-20 00:40:19 -07:00

28 lines
523 B
YAML

name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm run lint --if-present
- run: npm test