chore(devdeps): update dependency eslint-plugin-package-json to v0.85.0 #197
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: ForgeRock Fork Pull Request CI | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| actions: read | |
| concurrency: | |
| group: pr-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| pr: | |
| # Only run for forks | |
| if: ${{ github.event.pull_request.head.repo.full_name != github.repository }} | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| fetch-depth: 0 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| run_install: false | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: '.node-version' | |
| cache: 'pnpm' | |
| cache-dependency-path: '**/pnpm-lock.yaml' | |
| - run: pnpm install --frozen-lockfile | |
| # Restore-only cache to avoid save attempts/noise on forks | |
| - name: Restore Playwright browsers cache | |
| uses: actions/cache/restore@v4 | |
| with: | |
| path: ~/.cache/ms-playwright | |
| key: ${{ runner.os }}-playwright-${{ hashFiles('**/pnpm-lock.yaml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-playwright- | |
| - run: pnpm exec playwright install --with-deps | |
| - name: Track base repository main | |
| run: | | |
| git fetch origin +refs/heads/main:refs/remotes/upstream/main | |
| git branch --force main upstream/main | |
| - uses: nrwl/nx-set-shas@v4 | |
| - run: pnpm nx format:check | |
| - run: pnpm nx affected -t build typecheck lint test e2e-ci --no-agents |