mirror of
https://github.com/tiennm99/mathmax.git
synced 2026-09-18 12:21:01 +00:00
Replace pnpm-lock.yaml with package-lock.json. The security overrides move to package.json#overrides with their range operators intact, so advisory floors stay floors. allowBuilds becomes package.json#allowScripts where the listed package is actually in the tree.
29 lines
389 B
YAML
29 lines
389 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
ci:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
|
|
|
|
- uses: actions/setup-node@v7
|
|
with:
|
|
node-version: '24'
|
|
cache: 'npm'
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
|
|
- name: Build
|
|
run: npm run build
|