chore: update cv #135
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 | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| name: Run release | |
| steps: | |
| - name: Checkout code so that it is available to use in the executing runner | |
| uses: actions/checkout@v4.2.1 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4.0.4 | |
| with: | |
| node-version: 22.17.0 | |
| - name: Install Semantic Release and plugins | |
| run: | | |
| npm install -g semantic-release@24.1.3 \ | |
| conventional-changelog-conventionalcommits@8.0.0 \ | |
| @semantic-release/release-notes-generator@14.0.1 \ | |
| @semantic-release/commit-analyzer@13.0.0 \ | |
| @semantic-release/git@10.0.1 \ | |
| @semantic-release/exec@6.0.3 | |
| - name: Semantic Release | |
| run: npx semantic-release | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.PAT_GITHUB }} | |
| deploy: | |
| needs: release | |
| runs-on: ubuntu-latest | |
| env: | |
| SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }} | |
| SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_DB_PASSWORD }} | |
| PROJECT_ID: ${{ secrets.PROJECT_ID }} | |
| steps: | |
| - name: Checkout code so that it is available to use in the executing runner | |
| uses: actions/checkout@v4.2.1 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Supabase CLI | |
| uses: supabase/setup-cli@v1 | |
| with: | |
| version: latest | |
| - name: Link Supabase to Project | |
| run: supabase link --project-ref $PROJECT_ID | |
| - name: Run Migrations | |
| run: supabase db push |