Skip to content

Add explicit permissions to GitHub Actions workflows #69

Add explicit permissions to GitHub Actions workflows

Add explicit permissions to GitHub Actions workflows #69

Workflow file for this run

name: Node CI
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14
uses: actions/setup-node@v6
with:
node-version: 14
- name: npm install, build, and test
run: |
npm install
npm run build --if-present
npm test
env:
CI: true