Skip to content

Use Node 20 runtime in CI workflows #796

Use Node 20 runtime in CI workflows

Use Node 20 runtime in CI workflows #796

Workflow file for this run

name: Build
on:
push:
pull_request:
branches:
- main
permissions:
contents: read
packages: read
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: 20.x
cache: "npm"
registry-url: "https://npm.pkg.github.com"
- run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npm run format-check
- run: npm run lint
- run: npm run build
- run: npm run test