Skip to content

Commit

Permalink
fix: node
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Dec 31, 2024
1 parent 4c937f6 commit 23074a1
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -375,10 +375,6 @@ jobs:
echo "===================================="
pnpm api-extractor:ci
- name: Documentation coverage check
if: ${{ inputs.target == 'x86_64-unknown-linux-gnu' && !inputs.skipable }}
run: pnpm doc-coverage

### write the latest metric into branch gh-pages
### Note that, We can't merge this script, because this script only runs on main branch
- name: Update main branch test compatibility metric
Expand All @@ -393,6 +389,17 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
sha: ${{ github.sha }}

# The doc-coverage script requires Node 22
- name: Switch to Node 22
uses: actions/setup-node@v4
with:
node-version: 22

- name: Documentation coverage check
if: ${{ inputs.target == 'x86_64-unknown-linux-gnu' && !inputs.skipable }}

run: pnpm doc-coverage

bench:
name: Bench
needs: build
Expand Down

0 comments on commit 23074a1

Please sign in to comment.