Skip to content

Release

Release #34

Workflow file for this run

name: Release
on:
release:
types: [created]
jobs:
ci:

Check failure on line 8 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yaml (Line: 8, Col: 5): Error calling workflow 'zen-fs/core/.github/workflows/ci.yaml@33ddafa2293b97ddbcd6f9097c4d2dde7f27ad23'. The nested job 'docs' is requesting 'pages: write', but is only allowed 'pages: none'.
uses: ./.github/workflows/ci.yaml
permissions:
contents: write
id-token: write
release:
runs-on: ubuntu-latest
needs: ci
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup npm authenication
uses: actions/setup-node@v3
with:
registry-url: https://registry.npmjs.org/
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Publish
run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}