Run quickcheck script
#1
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: Run `quickcheck` script | |
| on: | |
| # Runs on pushes targeting the default branch | |
| # Uncomment next 2 lines to activate | |
| # push: | |
| # branches: [main] | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| # Allows this workflow to be called from other workflows | |
| workflow_call: | |
| jobs: | |
| main: | |
| env: | |
| TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
| TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup actions/cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| .turbo | |
| key: ${{ runner.os }}-ac-${{ github.sha }} | |
| restore-keys: | | |
| ${{ runner.os }}-ac- | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| run_install: false | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm i | |
| - name: Run quickcheck | |
| run: pnpm run quickcheck |