Skip to content

Commit

Permalink
Merge branch 'release/2.0.0-rc.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
lisez committed May 13, 2024
2 parents 4e106df + d46c4bd commit 2ec508d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Publish Package to npmjs
name: Publish Package
on:
release:
types: [published]
jobs:
build:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -16,3 +16,12 @@ jobs:
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
publish-jsr:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Publish package
run: npx jsr publish
5 changes: 5 additions & 0 deletions jsr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "@lisez/lib-arabic-chinese",
"version": "2.0.0-rc.2",
"exports": "./src/index.ts"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lib-arabic-chinese",
"version": "2.0.0-rc.1",
"version": "2.0.0-rc.2",
"description": "A library for converting from Arabic numbers to Chinese numbers",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 2ec508d

Please sign in to comment.