Repository navigation
ci: update semantic-release deps #17
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: Release | |
| on: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: write | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| build: | |
| uses: ./.github/workflows/ci.yml | |
| release: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| # puts stack/GHC on PATH and warms .stack-work for semantic-release-haddock-since | |
| - uses: freckle/stack-action@v5 | |
| with: | |
| test: false | |
| # cached GHC settings are image-specific (e.g. linker), keep caches per runner image | |
| cache-prefix: ${{ env.ImageOS }}- | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: 26 | |
| cache: npm | |
| - run: npm ci | |
| - run: npx semantic-release | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |