This repository was archived by the owner on Oct 27, 2025. It is now read-only.
feat(config): add biome and semantic release for automatic deployments #9
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: Publish to npm | |
| on: | |
| push: | |
| branches: main | |
| env: | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
| jobs: | |
| run-tests: | |
| uses: ./.github/workflows/_run-tests.yaml | |
| build-and-publish: | |
| needs: run-tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| token: ${{ secrets.GH_TOKEN }} | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.19.0' | |
| - run: npm ci | |
| - run: npm run build | |
| - run: npm run semantic-release |