CI / build (pull_request) Successful in 14s
actions/checkout and actions/setup-node v4 -> v5, softprops/action-gh-release v2 -> v3; all three run on Node 24. setup-deno@v2, setup-bun@v2 and crates-io-auth-action@v1 already resolve to Node 24 releases. Jobs keep node-version 22. Refs Green-Tea/core#103 Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
24 lines
449 B
YAML
24 lines
449 B
YAML
name: CI
|
|
|
|
# Build gate. Runs on both forges (path .github is read by Gitea and GitHub).
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
push:
|
|
branches: [main]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- uses: actions/setup-node@v5
|
|
with:
|
|
node-version: '22'
|
|
- run: npm ci
|
|
- run: npm audit --audit-level=moderate
|
|
- run: npm run check
|