Feature/DO-1834 Header Change Detection add HTTP status flags for custom behaviour for BigCommerce #1895
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: Build | |
| on: [pull_request] | |
| jobs: | |
| build: | |
| name: 🏭 Build all packages | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Fetch target | |
| run: git fetch origin ${{ env.PR_BASE_REF }} | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: ".nvmrc" | |
| cache: "yarn" | |
| - name: Install | |
| run: yarn install | |
| - name: Build all packages | |
| run: yarn nx run-many -t build | |
| - run: yarn nx affected:lint --base=origin/${{ env.PR_BASE_REF }} --parallel --max-parallel=3 | |
| env: | |
| PR_BASE_REF: ${{ github.event.pull_request.base.ref }} |