This repository was archived by the owner on Oct 23, 2025. It is now read-only.
Merge pull request #272 from supabase-community/ChrisChinchilla-patch-1 #151
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 | |
| workflow_dispatch: | |
| jobs: | |
| release: | |
| name: Release / Node ${{ matrix.node }} | |
| strategy: | |
| matrix: | |
| node: ['18'] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: pnpm/action-setup@v2.0.1 | |
| with: | |
| version: 8.7.0 | |
| - name: Set up Node | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: pnpm | |
| - run: | | |
| pnpm install --frozen-lockfile | |
| pnpm run build | |
| - name: Create a release | |
| id: changesets | |
| uses: changesets/action@v1 | |
| with: | |
| version: pnpm ci:version | |
| commit: 'chore: update versions' | |
| title: 'chore: update versions' | |
| publish: pnpm ci:release | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |