refactor: restructure and cleanup module setup #6932
Workflow file for this run
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: nightly release | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| tags: | |
| - '!**' | |
| pull_request: | |
| types: [opened, synchronize, labeled] | |
| branches: [main] | |
| paths-ignore: | |
| - 'docs/**' | |
| - 'test/**' | |
| - 'specs/**' | |
| - 'playground/**' | |
| jobs: | |
| release: | |
| if: ${{ contains(github.event.pull_request.labels.*.name, 'cr-tracked') }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0 | |
| - name: Setup node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: lts/* | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build | |
| run: pnpm build | |
| - name: Release with pkg-pr-new | |
| run: pnpx pkg-pr-new publish --compact --no-template --pnpm |