Repository navigation
chore: bump revision #8
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy to github npm packages | |
| on: | |
| push: | |
| tags: | |
| - 'v*-freshmile*' | |
| env: | |
| NPM_CONFIG_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.17.0 | |
| registry-url: https://npm.pkg.github.com/ | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: 1.3.12 | |
| - run: bun install --frozen-lockfile | |
| - run: bun run release | |
| - run: bun publish --registry https://npm.pkg.github.com/ --access restricted |