--- 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 - name: Setup Node.js Environment uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 with: always-auth: true node-version-file: '.nvmrc' registry-url: 'https://registry.npmjs.org' scope: '@ivuorinen' - name: Cache Node Modules uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2 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 }}