This repository was archived by the owner on Oct 26, 2025. It is now read-only.
Merge branch 'main' of https://github.com/sdl-codegen/sdl-codegen #62
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
| concurrency: | |
| cancel-in-progress: false | |
| group: ${{ github.workflow }} | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - uses: ./.github/actions/prepare | |
| - run: pnpm build | |
| - run: git config user.name "${GITHUB_ACTOR}" | |
| - run: git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" | |
| - run: git stash | |
| - env: | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN | |
| - env: | |
| GITHUB_TOKEN: ${{ github.token }} | |
| run: if pnpm run should-semantic-release ; then pnpm release-it --verbose ; fi | |
| name: Release | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| id-token: write |