Skip to content

Commit 7c5269a

Browse files
committed
Publish 0.2.3, use npx to publish
1 parent 64a3737 commit 7c5269a

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ jobs:
5252
- run: git config user.name "$(git log -n 1 --pretty=format:%an)"
5353
- run: git config user.email "$(git log -n 1 --pretty=format:%ae)"
5454
- run: echo "versionTag=`npm version ${{ github.event.inputs.release_type }} -m "%s ${{ github.event.inputs.description }}"`" >> $GITHUB_ENV
55+
5556
- run: bun install
57+
5658
- run: npm publish
5759
env:
5860
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

.github/workflows/pr.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@ jobs:
1313
- uses: oven-sh/setup-bun@v2
1414
with:
1515
bun-version: latest
16+
17+
- uses: actions/setup-node@v4
18+
with:
19+
cache: bun
20+
registry-url: https://registry.npmjs.org/
21+
scope: '@kingstinct'
1622

1723
- run: bun install
1824

19-
- run: bunx pkg-pr-new publish
25+
- run: npx pkg-pr-new publish

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-device-activity",
3-
"version": "0.2.2",
3+
"version": "0.2.3",
44
"description": "Provides access to Apples DeviceActivity API",
55
"main": "build/index.js",
66
"types": "build/index.d.ts",

0 commit comments

Comments
 (0)