Merge branch 'v3' of github.com:saas-js/saas-ui into v3 #414
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: Package PR | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - run: corepack enable | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Install dependencies | |
| run: pnpm i --ignore-scripts | |
| - name: Build | |
| run: pnpm build:packages | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| SUPABASE_URL: ${{ vars.SUPABASE_URL }} | |
| SUPABASE_ANON_KEY: ${{ vars.SUPABASE_ANON_KEY }} | |
| AUTH_ORIGIN: ${{ vars.AUTH_ORIGIN }} | |
| REGISTRY_URL: ${{ vars.REGISTRY_URL }} | |
| SCHEMA_URL: ${{ vars.SCHEMA_URL }} | |
| - run: pnpm dlx pkg-pr-new publish './packages/saas-ui-*' |