Skip to content

Merge branch 'main' into copilot/define-workflow-permissions #94

Merge branch 'main' into copilot/define-workflow-permissions

Merge branch 'main' into copilot/define-workflow-permissions #94

Workflow file for this run

name: Node.js CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
# Enable unprivileged user namespaces for Chrome sandbox
# This is required because Ubuntu 23.10+ disables them by default
# See: https://github.com/actions/runner-images/issues/9621
- name: Enable user namespaces
run: sudo sysctl -w kernel.unprivileged_userns_clone=1
- run: npm install
- run: npm run build --if-present
- run: npm test
env:
CI: true