ReviewOS

also looking at this

stacks/ts-cloud

feat: new release script using pantry

#16
Closed glennmichael123 wants to merge feat/pantry-release into main
1 file +10 -7
.github/workflows/release.ymlmodified+10-7
renamed throughout · 10 hidden lines
Changes to .github/workflows/release.yml
@@ -6,8 +6,8 @@ on: renamed throughout
66 - 'v*'
77
88jobs:
9 npm:
10 name: npm
9 release:
10 name: release
1111 runs-on: ubuntu-latest
1212
1313 steps:
Changes to .github/workflows/release.yml
@@ -15,13 +15,16 @@ jobs:
1515 with:
1616 fetch-depth: 0
1717
18 - name: Install Bun
18 - name: Setup Bun
1919 uses: oven-sh/setup-bun@v2
20 # env:
21 # BUN_AUTH_TOKEN: $
2220 with:
2321 bun-version: latest
2422
23 - name: Setup pantry
24 uses: stacksjs/pantry@v0.7
25 with:
26 setup-only: 'true'
27
2528 - name: Use cached node_modules
2629 uses: actions/cache@v4
2730 with:
@@ -34,7 +37,7 @@ jobs:
3437 run: bun install
3538
3639 - name: Publish to npm
37 run: ./scripts/publish.sh
40 run: pantry publish --access public
3841 env:
3942 BUN_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
4043
@@ -44,7 +47,7 @@ jobs:
4447 GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
4548
4649 - name: Attach Binaries
47 uses: stacksjs/action-releaser@v1.1.0
50 uses: stacksjs/action-releaser@v1.2.7
4851 with:
4952 files: |
5053 packages/ts-starter-monorepo/bin/ts-starter-monorepo-linux-x64.zip