Files
base-configs/.github/workflows/pr.yml
renovate[bot] ad15143559 chore(deps)!: update actions/cache (v4.3.0 → v5.0.0) (#437)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-12 12:14:31 +02:00

51 lines
1.2 KiB
YAML

---
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@a7833574556fa59680c1b7cb190c1735db73ebf0 # v5.0.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 }}