Skip to content
This repository was archived by the owner on Mar 14, 2026. It is now read-only.

Commit bbd678c

Browse files
committed
feat: publish package on release
1 parent 098ee13 commit bbd678c

3 files changed

Lines changed: 53 additions & 27 deletions

File tree

.github/workflows/publish.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Publish
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
build-npm:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
contents: read
10+
id-token: write
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-bun@v2
14+
with:
15+
registry-url: 'https://npm.pkg.github.com'
16+
scope: '@minecraft-essentials'
17+
- name: Install dependencies
18+
run: bun install
19+
- name: Publish package
20+
run: bun publish
21+
env:
22+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

bun.lock

Lines changed: 27 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
"pretest": "bun run build"
2323
},
2424
"dependencies": {
25-
"@tauri-apps/api": ">=2.0.0-beta.6"
25+
"@tauri-apps/api": "^2.5.0"
2626
},
2727
"devDependencies": {
2828
"@rollup/plugin-typescript": "^11.1.6",
29-
"rollup": "^4.9.6",
30-
"typescript": "^5.3.3",
31-
"tslib": "^2.6.2"
29+
"rollup": "^4.44.0",
30+
"typescript": "^5.8.3",
31+
"tslib": "^2.8.1"
3232
}
3333
}

0 commit comments

Comments
 (0)