Merge remote-tracking branch 'origin/main' into feature/cli-config-file #511
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: Publish Any Commit | |
| on: | |
| push: | |
| tags: | |
| - "!**" | |
| branches: | |
| - "**" | |
| env: | |
| PNPM_CACHE_FOLDER: .pnpm-store | |
| HUSKY: 0 # Bypass husky commit hook for CI | |
| permissions: {} | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup-node | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Build | |
| run: pnpm nx run-many --target=build --parallel=5 -p="tag:npm:public" | |
| - run: | | |
| PATHS=$(pnpm list --recursive --depth=0 --json | jq -r '.[] | select(.private == false) | .path' | tr '\n' ' ') | |
| pnpx pkg-pr-new publish $PATHS --compact --pnpm |