Skip to content

Merge pull request #231 from zh-lx/fix-convert-iu #21

Merge pull request #231 from zh-lx/fix-convert-iu

Merge pull request #231 from zh-lx/fix-convert-iu #21

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node 18
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Run tests with coverage
run: npm run test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }} # 添加你的 Codecov token
slug: zh-lx/pinyin-pro