Update dependency @typescript/native-preview to v7.0.0-dev.20260502.1… #1048
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: ReleaseOrVersionPR | |
| on: | |
| push: | |
| branches: | |
| - main | |
| concurrency: "${{ github.workflow }}-${{ github.ref }}" | |
| jobs: | |
| release: | |
| name: Release and changelog | |
| # Security: the release job can only be executed from this repo and from the main branch (not a remote thing) | |
| if: ${{ github.repository == 'belgattitude/flowblade' && contains('refs/heads/main',github.ref)}} | |
| permissions: | |
| contents: write # to create release (changesets/action) | |
| pull-requests: write | |
| id-token: write # to allow npm provenance | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@v6 | |
| with: | |
| # To run comparison we need more than the latest commit. Keep the fetch-depth relatively | |
| # high or set it to zero to get all commits from the git repo. | |
| # @link https://github.com/actions/checkout#fetch-all-history-for-all-tags-and-branches | |
| fetch-depth: 0 | |
| - name: Use Node.js 24.x | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24.x | |
| package-manager-cache: false | |
| - name: 📥 Monorepo install | |
| uses: ./.github/actions/yarn-nm-install | |
| - name: 🦋 Create Release Pull Request or Publish to npm | |
| id: changesets | |
| uses: changesets/action@v1 | |
| with: | |
| publish: yarn g:release | |
| setupGitUser: true | |
| env: | |
| # See https://github.com/changesets/action/issues/147 | |
| HOME: ${{ github.workspace }} | |
| # https://github.com/changesets/changesets/issues/1152#issuecomment-3190884868 | |
| NPM_TOKEN: '' | |
| # The regular GITHUB_TOKEN won't allow the created "Version Packages" pr to | |
| # trigger the regular CI workflow. This limitation can be circumvented by | |
| # setting a custom PAT token from a GH account and setting it the secrets. | |
| GITHUB_TOKEN: ${{ secrets.BELGATTITUDE_FLOWBLADE_TOKEN }} | |
| NPM_CONFIG_PROVENANCE: true | |