Skip to content

Merge pull request #80 from ndaidong/4.0.1 #5

Merge pull request #80 from ndaidong/4.0.1

Merge pull request #80 from ndaidong/4.0.1 #5

Workflow file for this run

name: publish
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # The OIDC ID token is used for authentication with JSR.
steps:
- uses: actions/checkout@v4
- run: npx jsr publish
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: npm build
run: deno task build
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: cd npm && npm publish --provenance --access public