Skip to content

feat: 修改编译、打包流程,优化脚本 #12

feat: 修改编译、打包流程,优化脚本

feat: 修改编译、打包流程,优化脚本 #12

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 repository
uses: actions/checkout@v3
- 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