Skip to content

inherit secrets

inherit secrets #6

Workflow file for this run

name: Publish
on:
workflow_dispatch:
release:
types: [published]
jobs:
build:
environment: npm - publish
runs-on: ubuntu-latest

Check failure on line 11 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v3
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: yarn install
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}