Skip to content

Commit

Permalink
remove currently-broken github action for npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs224 committed May 17, 2024
1 parent 47d2699 commit 196fbe8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@ on:
types: [published]

jobs:
npm:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- uses: denoland/setup-deno@v1
with:
deno-version: v1.43.1
- name: Build NPM Package
run: deno run -A scripts/build_npm.ts ${{ github.event.release.tag_name }}
- name: Publish to NPM
working-directory: ./npm
run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# npm:
# runs-on: ubuntu-latest
# permissions:
# contents: read
# id-token: write
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-node@v4
# with:
# node-version: 20
# registry-url: 'https://registry.npmjs.org'
# - uses: denoland/setup-deno@v1
# with:
# deno-version: v1.43.1
# - name: Build NPM Package
# run: deno run -A scripts/build_npm.ts ${{ github.event.release.tag_name }}
# - name: Publish to NPM
# working-directory: ./npm
# run: npm publish --provenance
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

jsr:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@jcs224/hono-sessions",
"version": "0.5.5",
"version": "0.5.6",
"exports": "./mod.ts"
}

0 comments on commit 196fbe8

Please sign in to comment.