Skip to content

Commit

Permalink
Build docs in CI as well; use setup-node@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
stefcameron committed Mar 8, 2024
1 parent 10d0fb1 commit aace1e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Node ${{ matrix.node }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
check-latest: true
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"build:browser": "vite build --config config/vite.config.browser.mts",
"build:node": "vite build --config config/vite.config.node.mts",
"build:types": "tsc src/lib/index.ts --declaration --emitDeclarationOnly --outFile dist/text-to-canvas.d.ts",
"ci:build": "npm run build",
"ci:build": "npm run build && npm run docs",
"ci:lint": "npm run lint",
"ci:test": "npm run test:unit",
"demo:node": "vite-node ./src/demos/node-demo.mts",
Expand Down

0 comments on commit aace1e5

Please sign in to comment.