Skip to content

Update actions/checkout action to v5 #502

Update actions/checkout action to v5

Update actions/checkout action to v5 #502

Workflow file for this run

# Deploy to https://docs.coscene.cn
name: PR Check
on:
pull_request:
types: [opened, reopened, synchronize]
workflow_dispatch:
jobs:
quick-ci-check:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 2
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Setup Node env
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'pnpm'
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Build Project
run: |
export NODE_OPTIONS=--max_old_space_size=5632
pnpm build