Skip to content

修正Lrc解析格式有误的问题 #35

修正Lrc解析格式有误的问题

修正Lrc解析格式有误的问题 #35

Workflow file for this run

name: 构建网页版本并部署到 Github Pages
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build-web:
name: 构建网页版本并部署到 Github Pages
runs-on: ubuntu-latest
steps:
- name: 克隆仓库源代码
uses: actions/checkout@v2.3.4
with:
submodules: recursive
- name: 配置 NodeJS
uses: actions/setup-node@v3.0.0
- name: 安装 wasm-pack
uses: jetli/wasm-pack-action@v0.4.0
with:
version: latest
- name: 安装前端依赖
run: yarn install
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: false
- name: 构建 WASM 部分
run: yarn build:wasm
- name: 构建网页版本
run: yarn build
- name: 部署到 Github Pages
uses: crazy-max/ghaction-github-pages@v2.6.0
with:
target_branch: gh-pages
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}