File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # This workflow will run tests using Bun and then publish a package to GitHub Packages when a release is created
2- # For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
3-
41name : Publish Package
52
63on :
@@ -17,10 +14,19 @@ jobs:
1714 runs-on : ubuntu-latest
1815 steps :
1916 - uses : actions/checkout@v4
17+
2018 - uses : oven-sh/setup-bun@v2
2119 with :
2220 bun-version : " latest"
23- registry-url : https://registry.npmjs.org/
24- - run : bun ci
21+ registry-url : " https://registry.npmjs.org/"
22+
23+ - uses : actions/setup-node@v6
24+ with :
25+ node-version : " 24"
26+ registry-url : " https://registry.npmjs.org/"
27+
28+ - name : Update npm
29+ run : npm install -g npm@latest
30+ - run : npm ci
2531 - run : bun test
26- - run : bun publish
32+ - run : npm publish
You can’t perform that action at this time.
0 commit comments