This repository has been archived on 2026-08-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
pi-web/.github/workflows/ci.yml
T
Federico Jaramillo Martinez ef03439b5c ci: run verify/build on Linux and Windows, allow manual dispatch
Add a fail-fast: false OS matrix (ubuntu-latest, windows-latest) and a
workflow_dispatch trigger so CI can be run on demand.
2026-06-13 11:41:17 +02:00

43 lines
840 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
verify:
name: Verify and package (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
# Report Linux and Windows results independently instead of cancelling
# the matrix on the first failure.
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 24
cache: npm
- name: Install dependencies
run: npm ci
- name: Verify
run: npm run verify
- name: Build
run: npm run build
- name: Check npm package contents
run: npm run pack:dry