fix: generate exact: in asLocator only if it's different from the…
#51
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: pkg-pr-new | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| types: [opened, synchronize] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: cr-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| release: | |
| name: Publish preview | |
| if: github.repository == 'vitest-dev/ivya' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| - run: corepack enable | |
| - run: pnpm i | |
| - run: pnpm run build | |
| - run: pnpm dlx pkg-pr-new publish --compact --no-template --pnpm # zizmor: ignore[use-trusted-publishing] pkg-pr-new doesn't publish to npm |