Skip to content

Build: Bump the github-actions group with 2 updates #427

Build: Bump the github-actions group with 2 updates

Build: Bump the github-actions group with 2 updates #427

Workflow file for this run

name: Node
on:
pull_request:
push:
branches-ignore: "dependabot/**"
permissions:
contents: read
env:
NODE_VERSION: 22.x
jobs:
build-and-test:
runs-on: ubuntu-latest
name: Build & lint
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
cache-dependency-path: '**/package-lock.json'
- name: Install npm dependencies
run: npm ci
- name: Build
run: npm run build
# Lint must happen after build as we lint generated files.
- name: Lint
run: npm run lint