Skip to content

feat: add 123pan

feat: add 123pan #133

Workflow file for this run

name: Debug
on:
pull_request:
branches:
- next
paths:
- "src/**"
- "templates/**"
- "tasks/**"
- ".github/**"
jobs:
serve:
runs-on: windows-2019
steps:
# 获取仓库源码
- uses: actions/checkout@v4
with:
submodules: recursive
ref: ${{ github.ref }}
# 缓存 node_modules
- uses: actions/cache@v4
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/pnpm-lock.yaml') }}
# 安装依赖
- name: Install dependencies
run: npm install -g pnpm@9 && pnpm install
# 以Debug模式运行构建任务
- name: Run scripts
run: pnpm dev -g -e "GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}"