对洛谷新增 Markdown 功能的补充及表格写法缺失的补充 #826
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
- push | |
- pull_request | |
concurrency: | |
group: ${{ github.workflow }}:${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
name: install pnpm | |
with: | |
run_install: false | |
- name: install node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'pnpm' | |
- name: install dependencies | |
run: pnpm install | |
- name: build | |
run: pnpm run build | |
- name: upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: help-site | |
path: build |