chore(deps): bump the aws group across 1 directory with 12 updates #325
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: Pull Request | |
| on: [pull_request] | |
| jobs: | |
| install: | |
| name: 📦 Install dependencies | |
| runs-on: ubuntu-latest | |
| outputs: | |
| cache-hit: ${{ steps.cache-node-modules.outputs.cache-hit }} | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v6 | |
| 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@v6 | |
| with: | |
| node-version-file: ".nvmrc" | |
| - name: Cache node_modules | |
| id: cache-node-modules | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| node_modules | |
| .yarn/cache | |
| key: ${{ runner.os }}-node-modules-${{ hashFiles('yarn.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-node-modules- | |
| - name: Install dependencies | |
| if: steps.cache-node-modules.outputs.cache-hit != 'true' | |
| run: yarn install --frozen-lockfile | |
| env: | |
| PR_BASE_REF: ${{ github.event.pull_request.base.ref }} | |
| lint: | |
| name: 🔍 Lint affected packages | |
| runs-on: ubuntu-latest | |
| needs: install | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v6 | |
| 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@v6 | |
| with: | |
| node-version-file: ".nvmrc" | |
| - name: Restore node_modules cache | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| node_modules | |
| .yarn/cache | |
| key: ${{ runner.os }}-node-modules-${{ hashFiles('yarn.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-node-modules- | |
| - name: Lint affected packages | |
| 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 }} | |
| build: | |
| name: 🏭 Build affected packages | |
| runs-on: ubuntu-latest | |
| needs: install | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v6 | |
| 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@v6 | |
| with: | |
| node-version-file: ".nvmrc" | |
| - name: Restore node_modules cache | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| node_modules | |
| .yarn/cache | |
| key: ${{ runner.os }}-node-modules-${{ hashFiles('yarn.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-node-modules- | |
| - name: Build affected packages | |
| run: yarn nx affected:build --base=origin/${{ env.PR_BASE_REF }} --parallel --max-parallel=3 | |
| env: | |
| PR_BASE_REF: ${{ github.event.pull_request.base.ref }} | |
| test: | |
| name: 🧪 Run tests | |
| runs-on: ubuntu-latest | |
| needs: install | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v6 | |
| 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@v6 | |
| with: | |
| node-version-file: ".nvmrc" | |
| - name: Restore node_modules cache | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| node_modules | |
| .yarn/cache | |
| key: ${{ runner.os }}-node-modules-${{ hashFiles('yarn.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-node-modules- | |
| - name: Build affected packages | |
| run: yarn nx affected:build --base=origin/${{ env.PR_BASE_REF }} --parallel --max-parallel=3 | |
| - name: Test affected packages | |
| run: yarn nx affected:test --base=origin/${{ env.PR_BASE_REF }} --parallel --max-parallel=3 | |
| env: | |
| PR_BASE_REF: ${{ github.event.pull_request.base.ref }} |