Skip to content

new workflow

new workflow #11

Workflow file for this run

name: "publish npm"
on: push
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: node
uses: actions/setup-node@v2
with:
node-version: 12
registry-url: https://registry.npmjs.org
- name: publish
run: npm ci
run: npm publish --access public

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

View workflow run for this annotation

GitHub Actions / publish npm

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yml (Line: 18, Col: 15): 'run' is already defined
env:
NODE_AUTH_TOKEN: ${{secrets.IFX_FEEDBACK_WIDGET}}