Skip to content

Kizuna Rank Titles (BondsHonors) #70

Kizuna Rank Titles (BondsHonors)

Kizuna Rank Titles (BondsHonors) #70

Workflow file for this run

name: "Build Check on Pull Request"
on:
pull_request:
types:
- opened
- reopened
- unlocked
- synchronize
branches:
- main
- dev
paths:
- "src/**"
- "public/**"
- ".env.production"
jobs:
pr-build-check:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 9
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install packages
run: pnpm install
- name: Build pages
run: |
pnpm build
env:
NODE_OPTIONS: --max_old_space_size=4096