--- name: PR Actions on: pull_request: permissions: contents: write issues: write pull-requests: write jobs: pr: name: PR Actions runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: fetch-depth: 0 - name: Setup Node.js Environment uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0 with: always-auth: true node-version-file: '.nvmrc' registry-url: 'https://registry.npmjs.org' scope: '@ivuorinen' - name: Cache Node Modules uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 id: cache with: path: node_modules key: node-modules-${{ hashFiles('**/yarn.lock') }} - name: Enable corepack id: corepack shell: bash run: corepack enable - name: Install Dependencies if: steps.cache.outputs.cache-hit != 'true' run: yarn install - name: Yarn Lock Changes uses: Simek/yarn-lock-changes@61d1a0595070b79c1abdc8e1e5a5f5d98b18918c # v0.12.2 with: token: ${{ secrets.GITHUB_TOKEN }}