also looking at this
feat: new release script using pantry
#16
1 file
+10
-7
renamed throughout · 10 hidden lines
| @@ -6,8 +6,8 @@ on: renamed throughout | ||
| 6 | 6 | - 'v*' |
| 7 | 7 | |
| 8 | 8 | jobs: |
| 9 | npm: | |
| 10 | name: npm | |
| 9 | release: | |
| 10 | name: release | |
| 11 | 11 | runs-on: ubuntu-latest |
| 12 | 12 | |
| 13 | 13 | steps: |
| @@ -15,13 +15,16 @@ jobs: | ||
| 15 | 15 | with: |
| 16 | 16 | fetch-depth: 0 |
| 17 | 17 | |
| 18 | - name: Install Bun | |
| 18 | - name: Setup Bun | |
| 19 | 19 | uses: oven-sh/setup-bun@v2 |
| 20 | # env: | |
| 21 | # BUN_AUTH_TOKEN: $ | |
| 22 | 20 | with: |
| 23 | 21 | bun-version: latest |
| 24 | 22 | |
| 23 | - name: Setup pantry | |
| 24 | uses: stacksjs/pantry@v0.7 | |
| 25 | with: | |
| 26 | setup-only: 'true' | |
| 27 | ||
| 25 | 28 | - name: Use cached node_modules |
| 26 | 29 | uses: actions/cache@v4 |
| 27 | 30 | with: |
| @@ -34,7 +37,7 @@ jobs: | ||
| 34 | 37 | run: bun install |
| 35 | 38 | |
| 36 | 39 | - name: Publish to npm |
| 37 | run: ./scripts/publish.sh | |
| 40 | run: pantry publish --access public | |
| 38 | 41 | env: |
| 39 | 42 | BUN_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |
| 40 | 43 | |
| @@ -44,7 +47,7 @@ jobs: | ||
| 44 | 47 | GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |
| 45 | 48 | |
| 46 | 49 | - name: Attach Binaries |
| 47 | uses: stacksjs/action-releaser@v1.1.0 | |
| 50 | uses: stacksjs/action-releaser@v1.2.7 | |
| 48 | 51 | with: |
| 49 | 52 | files: | |
| 50 | 53 | packages/ts-starter-monorepo/bin/ts-starter-monorepo-linux-x64.zip |