fix(delay): prevent infinite mode from throwing
#497
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: release-preview | |
| on: | |
| push: | |
| branches-ignore: | |
| - 'main' | |
| tags: | |
| - '!**' | |
| workflow_dispatch: | |
| jobs: | |
| publish: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - name: Set up pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9.15.0 | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Install Playwright browsers | |
| run: pnpm exec playwright install chromium --with-deps --only-shell | |
| - name: Lint | |
| run: pnpm lint | |
| - name: Build | |
| run: pnpm build | |
| - name: Tests | |
| run: pnpm test | |
| - name: Publish preview | |
| run: pnpm dlx pkg-pr-new@0.0 publish --compact --pnpm --comment=update |