File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ jobs:
1313 steps :
1414 - uses : actions/checkout@v4
1515
16- - name : Setup Node.js
16+ - name : Setup Bun
1717 uses : oven-sh/setup-bun@v2
1818 with :
19- bun-version-file : " package.json "
19+ bun-version : " canary "
2020
2121 - name : Install dependencies
2222 run : bun install --frozen-lockfile
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ jobs:
1212 steps :
1313 - uses : actions/checkout@v4
1414
15- - name : Setup Node.js
15+ - name : Setup Bun
1616 uses : oven-sh/setup-bun@v2
1717 with :
18- bun-version-file : " package.json "
18+ bun-version : " canary "
1919
2020 - name : Install dependencies
2121 run : bun install --frozen-lockfile
@@ -35,10 +35,10 @@ jobs:
3535 steps :
3636 - uses : actions/checkout@v4
3737
38- - name : Setup Node.js
38+ - name : Setup Bun
3939 uses : oven-sh/setup-bun@v2
4040 with :
41- bun-version-file : " package.json "
41+ bun-version : " canary "
4242 registry-url : " https://registry.npmjs.org"
4343 scope : " @simplecomponent"
4444
4949 run : bun run --filter "*" build
5050
5151 - name : Publish
52- run : bun publish --filter "*" -- access public --tag latest
52+ run : for pkg in $(ls packages); do cd packages/$pkg && bun publish --access public && cd -; done
5353 env :
5454 NPM_CONFIG_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
You can’t perform that action at this time.
0 commit comments