Skip to content

Commit

Permalink
squash!
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Feb 16, 2024
1 parent 9218393 commit 1208c4d
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/JSR.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: NPM

concurrency:
group: NPM-${{ 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: Publish .
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

0 comments on commit 1208c4d

Please sign in to comment.