🐛 fix: 修复一个特殊引入导致的上层解析问题 #1005
Workflow file for this run
This file contains 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: Test CI | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Install deps | |
run: pnpm install | |
- name: lint | |
run: pnpm run ci | |
- name: build | |
run: pnpm run build | |
- name: test and coverage | |
run: pnpm run test:coverage | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 |