Skip to content

Add publishing workflow (#3) #3

Add publishing workflow (#3)

Add publishing workflow (#3) #3

Workflow file for this run

name: Publish
on:
workflow_dispatch:
push:
tags:
- "*"
jobs:
publish:
runs-on: ubuntu-latest
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
steps:

Check failure on line 16 in .github/workflows/publish.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yaml

Invalid workflow file

You have an error in your yaml syntax on line 16
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: "npm"
- run: npm ci
- run: npm run build
- run: npm test
- run: npm publish