Skip to content

Add publish workflow. #1

Add publish workflow.

Add publish workflow. #1

Workflow file for this run

name: Publish
on:
push:

Check failure on line 3 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 3
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Publish package
run: npx jsr publish