Version Packages (#415) #191
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 | |
| jobs: | |
| release: | |
| name: Changesets release | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| id-token: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| registry-url: https://registry.npmjs.org | |
| - run: npm install -g npm@11.5.1 | |
| - run: corepack yarn install --immutable | |
| - run: corepack yarn install --immutable | |
| - run: corepack yarn tsc:utils | |
| - run: corepack yarn tsc:zod | |
| - run: corepack yarn tsc:node | |
| - uses: changesets/action@v1 | |
| with: | |
| version: corepack yarn changeset:version:release | |
| publish: corepack yarn changeset publish | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| NPM_CONFIG_PROVENANCE: "true" | |
| TRANSLOADIT_PUBLISH_PREBUILT_NODE: "true" |