Skip to content

Commit

Permalink
build: make test pass
Browse files Browse the repository at this point in the history
  • Loading branch information
fi3ework committed Jul 22, 2022
1 parent 72a57d6 commit 3e6fa02
Show file tree
Hide file tree
Showing 10 changed files with 41 additions and 85 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test
env:
# 7 GiB by default on GitHub, setting to 6 GiB
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
NODE_OPTIONS: --max-old-space-size=6144
# NODE_OPTIONS: --max-old-space-size=6144
# install playwright binary manually (because pnpm only runs install script once)
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'

Expand All @@ -17,7 +17,6 @@ on:

jobs:
test:
timeout-minutes: 20
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down Expand Up @@ -82,10 +81,3 @@ jobs:

- name: Test
run: pnpm --silent run test

- name: Coverage
run: pnpm run test:coverage

- uses: codecov/codecov-action@v2 # https://github.com/codecov/codecov-action
with:
fail_ci_if_error: true
1 change: 0 additions & 1 deletion docs/introduction/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ A Vite plugin that can run TypeScript, VLS, vue-tsc, ESLint in worker thread.
<a href="https://www.npmjs.com/package/vite-plugin-checker" :style="{ 'margin-right': '4px' }"><img src="https://img.shields.io/npm/v/vite-plugin-checker" /></a>
<a href="https://www.npmtrends.com/vite-plugin-checker" :style="{ 'margin-right': '4px' }"><img src="https://img.shields.io/npm/dm/vite-plugin-checker" /></a>
<a href="https://github.com/fi3ework/vite-plugin-checker/actions/workflows/ci.yml" :style="{ 'margin-right': '4px' }"><img src="https://github.com/fi3ework/vite-plugin-checker/actions/workflows/ci.yml/badge.svg" /></a>
<a href="https://codecov.io/gh/fi3ework/vite-plugin-checker" :style="{ 'margin-right': '4px' }"><img src="https://codecov.io/gh/fi3ework/vite-plugin-checker/branch/main/graph/badge.svg?token=YCU4HJ66RA" /></a>
<a href="https://app.netlify.com/sites/vite-plugin-checker/deploys"><img src="https://api.netlify.com/api/v1/badges/de70465f-0ab6-41a8-ba76-49cb237a7a31/deploy-status?branch=main" /></a>
</div>

Expand Down
2 changes: 1 addition & 1 deletion packages/vite-plugin-checker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@
"tsup": "^5.12.3",
"typescript": "~4.5.5",
"vls": "^0.7.6",
"vue-tsc": "0.33.5"
"vue-tsc": "0.38.9"
}
}
3 changes: 0 additions & 3 deletions playground/basic/.eslintrc.cjs

This file was deleted.

4 changes: 4 additions & 0 deletions playground/basic/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"root": true,
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"]
}
3 changes: 0 additions & 3 deletions playground/eslint/.eslintrc.cjs

This file was deleted.

4 changes: 4 additions & 0 deletions playground/eslint/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"root": true,
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"]
}
2 changes: 1 addition & 1 deletion playground/vue3-vue-tsc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"typescript": "~4.5.5",
"vite": "^2.7.13",
"vite-plugin-checker": "workspace:*",
"vue-tsc": "0.33.5"
"vue-tsc": "0.38.9"
}
}
1 change: 1 addition & 0 deletions playground/vue3-vue-tsc/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"sourceMap": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"skipLibCheck": true,
"lib": ["esnext", "dom"],
"types": ["vite/client"]
},
Expand Down
96 changes: 29 additions & 67 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3e6fa02

Please sign in to comment.