Skip to content

Commit

Permalink
revert: publish to jsr.io (#773)
Browse files Browse the repository at this point in the history
This reverts commit 1bfa9cb.
  • Loading branch information
garrappachc committed Feb 8, 2025
1 parent eb58b76 commit 2146526
Showing 1 changed file with 24 additions and 7 deletions.
31 changes: 24 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Package
name: Publish Package to npmjs

on:
release:
Expand All @@ -8,13 +8,30 @@ jobs:
build:
runs-on: ubuntu-latest

permissions:
contents: read
id-token: write

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: pnpm
registry-url: 'https://registry.npmjs.org'
scope: '@tf2pickup-org'

- name: Install dependencies
run: pnpm install

- name: Build
run: pnpm build

- name: Publish package
run: npx jsr publish
- name: Publish
run: pnpm publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 2146526

Please sign in to comment.