Skip to content

允许部署在子目录下 #75

允许部署在子目录下

允许部署在子目录下 #75

Workflow file for this run

name: lint
on:
pull_request: # PR 触发
branches:
- next
jobs:
lint:
runs-on: ubuntu-latest
steps:
# 拉取代码
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
persist-credentials: false
# 设置 Node.js 版本
- name: Load Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
# 更新依赖
- name: Install
run: yarn
# 代码检查
- name: Lint
run: yarn lint