Skip to content

feat: add vercel script #39

feat: add vercel script

feat: add vercel script #39

Workflow file for this run

# 构建Docker镜像
name: Code-CI
## 触发条件
on:
# 手动触发部署
workflow_dispatch:
pull_request:
branches:
- 'master'
- 'next'
- '!pages/**'
jobs:
Code-CI:
runs-on: ubuntu-latest
# if: github.repository == '142vip/408CSFamily'
permissions:
actions: read
pull-requests: read
steps:
- name: checkout code
uses: actions/checkout@v3
with:
# “最近更新时间” 等 git 日志相关信息,需要拉取全部提交记录
fetch-depth: 0
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 14.20.1
- name: PNPM Install
uses: pnpm/action-setup@v2
with:
version: 7
run_install: true
- name: Code ESlint Fix
run: pnpm lintfix
- name: Build Site
run: pnpm build