example PR introducing performance regression #22
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: Web - Vite | |
| on: | |
| push: | |
| branches: [main] | |
| paths: ['examples/web-vite/**'] | |
| pull_request: | |
| branches: ['**'] | |
| paths: ['examples/web-vite/**'] | |
| permissions: | |
| pull-requests: write # required for Danger to post comments | |
| statuses: write # required for Danger to post commit statuses | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ !contains(github.ref, 'main')}} | |
| jobs: | |
| validate: | |
| name: Validate | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Setup Node.js | |
| uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 | |
| with: | |
| node-version: 20.x | |
| cache: 'yarn' | |
| - name: Install Example | |
| run: yarn --cwd examples/web-vite install | |
| - name: Validate TypeScript | |
| run: yarn --cwd examples/web-vite typecheck | |
| - name: Validate ESLint | |
| run: yarn --cwd examples/web-vite lint | |
| - name: Run tests | |
| run: yarn --cwd examples/web-vite test | |
| - name: Run perf tests | |
| run: cd examples/web-vite && ./reassure-tests.sh | |
| - name: Run Danger.js | |
| run: yarn --cwd examples/web-vite danger ci --id web-vite | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |