Skip to content

Add read permissions to Node.js CI workflow #68

Add read permissions to Node.js CI workflow

Add read permissions to Node.js CI workflow #68

Workflow file for this run

name: Node.js CI
on: [push]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '22.x'
- run: npm install
- run: npm run build --if-present
- run: npm test
env:
CI: true