Skip to content

JSR

JSR #1

Workflow file for this run

name: JSR
concurrency:
group: JSR-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
security-events: write
contents: write
pull-requests: write
on:
workflow_dispatch:
release:
types: [created]
workflow_call:
jobs:
Publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: "18"
registry-url: "https://registry.npmjs.org"
- run: npm install -g npm
- name: Prepublish .
continue-on-error: true
working-directory: .
run: |
npm install --legacy-peer-deps
npm run prepublishOnly --legacy-peer-deps --provenance
- name: Install Deno
uses: denoland/[email protected]
- name: Publish package
run: deno publish