Fix runtime error for complex synth generics e.g. kysely wrappers (#366) #234
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: | |
| - master | |
| env: | |
| npm-token: ${{ secrets.NPM_TOKEN }} | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| node-version: '22.x' | |
| jobs: | |
| release: | |
| name: Release | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ env.node-version }} | |
| cache: yarn | |
| cache-dependency-path: '**/yarn.lock' | |
| - name: Install packages | |
| run: yarn install --prefer-offline | |
| - name: Create Release Pull Request or Publish to NPM | |
| id: changesets | |
| uses: changesets/[email protected] | |
| with: | |
| publish: yarn release | |
| commit: 'chore(release): update packages versions' | |
| title: 'Upcoming Release Changes' | |
| env: | |
| GITHUB_TOKEN: ${{ env.github-token }} | |
| NPM_TOKEN: ${{ env.npm-token }} |