also looking at this
chore(deps): update all non-major dependencies
#1990
5 files
+46
-36
| @@ -4,36 +4,46 @@ on: | ||
| 4 | 4 | push: |
| 5 | 5 | tags: |
| 6 | 6 | - 'v*' |
| 7 | workflow_dispatch: | |
| 8 | 7 | |
| 9 | 8 | jobs: |
| 10 | 9 | npm: |
| 10 | name: npm | |
| 11 | 11 | runs-on: ubuntu-latest |
| 12 | permissions: | |
| 13 | contents: write | |
| 14 | id-token: write | |
| 15 | 12 | |
| 16 | 13 | steps: |
| 17 | - name: Checkout | |
| 18 | uses: actions/checkout@v6.0.1 | |
| 14 | - uses: actions/checkout@v6.0.0 | |
| 19 | 15 | with: |
| 20 | 16 | fetch-depth: 0 |
| 21 | 17 | |
| 22 | - name: Setup Bun | |
| 23 | uses: oven-sh/setup-bun@v2 | |
| 18 | - name: Install Bun | |
| 19 | uses: oven-sh/setup-bun@v2.0.2 | |
| 20 | # env: | |
| 21 | # BUN_AUTH_TOKEN: $ | |
| 22 | with: | |
| 23 | bun-version: 1.3.2 | |
| 24 | 24 | |
| 25 | - name: Setup Pantry | |
| 26 | uses: home-lang/pantry-setup@v1 | |
| 25 | - name: Use cached node_modules | |
| 26 | uses: actions/cache@v4.3.0 | |
| 27 | with: | |
| 28 | path: node_modules | |
| 29 | key: node-modules-${{ hashFiles('**/bun.lock') }} | |
| 30 | restore-keys: | | |
| 31 | node-modules- | |
| 27 | 32 | |
| 28 | 33 | - name: Install Dependencies |
| 29 | 34 | run: bun install |
| 30 | 35 | |
| 31 | - name: Publish | |
| 32 | run: pantry publish --npm --access public | |
| 36 | - name: Publish to npm | |
| 37 | run: ./scripts/publish.sh | |
| 38 | env: | |
| 39 | BUN_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | |
| 40 | ||
| 41 | - name: Create GitHub release | |
| 42 | run: bunx changelogithub | |
| 33 | 43 | env: |
| 34 | NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| 44 | GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
| 35 | 45 | |
| 36 | - name: Create GitHub Release | |
| 46 | - name: Attach Binaries | |
| 37 | 47 | uses: stacksjs/action-releaser@v1.2.9 |
| 38 | 48 | with: |
| 39 | 49 | files: | |