Skip to content

Commit

Permalink
ci: update workflows/ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Oct 22, 2024
1 parent fdd1bae commit 3d2860e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ jobs:
- 18
- 16
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- run: npm install
- run: npm run build
working-directory: core

- run: npm run doc
working-directory: examples/document

Expand All @@ -40,12 +41,13 @@ jobs:
- 18
- 16
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build
working-directory: core

- run: npm run doc
working-directory: examples/document
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"examples/*"
],
"devDependencies": {
"idoc": "^1.33.2",
"lerna": "^8.1.8",
"husky": "^9.0.11",
"lint-staged": "^15.0.0",
Expand Down

0 comments on commit 3d2860e

Please sign in to comment.