Skip to content

feat: Publish to npm (#15) #42

feat: Publish to npm (#15)

feat: Publish to npm (#15) #42

Workflow file for this run

name: Publish
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
- run: deno run -A scripts/npm.ts
- run: deno publish
- run: npm publish --provenance
working-directory: ./npm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}