Skip to content

Commit

Permalink
fix: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kaivanwong committed Dec 8, 2023
1 parent d4e56c4 commit c096973
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: pnpm install

- name: Lint
run: pnpm run lint
run: pnpm lint

type-check:
runs-on: ubuntu-latest
Expand All @@ -40,14 +40,14 @@ jobs:
run: pnpm install

- name: Typecheck
run: pnpm run type-check
run: pnpm type-check

test:
runs-on: ${{ matrix.os }}

strategy:
matrix:
node-version: [18.x, 20.x]
node-version: [lts/*]
os: [ubuntu-latest]
fail-fast: false

Expand All @@ -62,7 +62,7 @@ jobs:
cache: pnpm

- run: pnpm install
- run: pnpm run test:unit
- run: pnpm test:unit

test-e2e:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -92,5 +92,5 @@ jobs:
uses: cypress-io/github-action@v4
with:
install-command: echo
build: pnpm run build
build: pnpm build
start: npx vite preview
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ NODE_VERSION = "18"

[build]
publish = "dist"
command = "pnpm run build"
command = "pnpm build"

[[redirects]]
from = "/*"
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "@vue/tsconfig/tsconfig.dom.json",
"compilerOptions": {
"composite": true,
"baseUrl": ".",
"paths": {
"@/*": [
Expand Down

0 comments on commit c096973

Please sign in to comment.