Skip to content

[local] Fix workflow syntax #9

[local] Fix workflow syntax

[local] Fix workflow syntax #9

name: Publish NPM Release
on:
push:
tags:
- '*'
workflow_dispatch:
jobs:
publish:
name: Publish to npmjs registry
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup-js
- name: yarn publish
run: yarn publish
working-directory: javascript
env:

Check failure on line 23 in .github/workflows/publish-npm-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish-npm-release.yml

Invalid workflow file

You have an error in your yaml syntax on line 23
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}