This repository was archived by the owner on Jun 18, 2025. It is now read-only.
Feat: support nestjs version 11 (#9) #21
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: Semantic-release | |
| on: | |
| push: | |
| branches: ["main"] | |
| permissions: | |
| contents: read # for checkout | |
| jobs: | |
| release: | |
| name: release | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| issues: write | |
| pull-requests: write | |
| id-token: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| cache: npm | |
| node-version: "lts/*" | |
| registry-url: "https://npm.pkg.github.com/" | |
| scope: '@github-id' | |
| - run: npm ci | |
| - run: npm run build | |
| - run: npx semantic-release | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |