Skip to content

Commit

Permalink
fix: publish to jsr. (#1044)
Browse files Browse the repository at this point in the history
* fix: publish to jsr.

* chore: revert repository param.
  • Loading branch information
thorwebdev committed May 15, 2024
1 parent 4dff472 commit 912f13e
Show file tree
Hide file tree
Showing 8 changed files with 6,938 additions and 2,045 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,16 @@ jobs:

runs-on: ubuntu-latest

permissions:
contents: write
issues: write
id-token: write

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}

Expand All @@ -30,7 +35,7 @@ jobs:
npm run build
- name: Create a release
run: npx semantic-release@^18.0.0
run: npx semantic-release@^19.0.0
env:
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 2 additions & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"addReleases": false
}
],
"@semantic-release/npm"
"@semantic-release/npm",
"@sebbo2002/semantic-release-jsr"
]
}
6 changes: 6 additions & 0 deletions jsr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "@supabase/supabase-js",
"version": "0.0.0-automated",
"exports": "./src/index.ts",
"exclude": ["examples"]
}

0 comments on commit 912f13e

Please sign in to comment.