Skip to content

try to get permissions correct for package management #21

try to get permissions correct for package management

try to get permissions correct for package management #21

Workflow file for this run

name: CI
on: [push]
jobs:
build:
name: Test
runs-on: ubuntu-latest
permissions:
content: read

Check failure on line 9 in .github/workflows/test.yaml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/test.yaml (Line: 9, Col: 7): Unexpected value 'content'
packages: write
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 22.x
- run: npm ci
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- run: npm test