Skip to content

fix(renovate): Update github-actions (patch) #959

fix(renovate): Update github-actions (patch)

fix(renovate): Update github-actions (patch) #959

Workflow file for this run

name: BuildPR
on:
merge_group:
pull_request:
branches:
- main
jobs:
buildTest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: "18"
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
name: Setup pnpm cache
with:
path: |
${{ steps.pnpm-cache.outputs.STORE_PATH }}
${{ github.workspace }}/apps/frontend/.next/cache
key: ${{ runner.os }}-pnpm-store-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
restore-keys: |
${{ runner.os }}-pnpm-store-nextjs
- name: Install dependencies
run: pnpm install --frozen-lockfile -r
- run: pnpm run lint
- run: pnpm run test
- run: pnpm run build