Skip to content

Commit

Permalink
chore: fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Apr 19, 2023
1 parent e0f0c66 commit 56e8db7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -17,7 +17,6 @@ jobs:
node-version: 16
cache: 'yarn'
- run: yarn install
- run: yarn lint
- run: yarn test:webpack4

test-webpack5:
Expand All @@ -30,5 +29,4 @@ jobs:
node-version: 16
cache: 'yarn'
- run: yarn install
- run: yarn build
- run: yarn test
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -14,6 +14,7 @@
"build": "tsc",
"pretest": "tsc",
"test": "jest",
"pretest:webpack4": "tsc",
"test:webpack4": "WEBPACK4=true jest",
"dev-example": "node example/devServer.js --config example/webpack.config.js --inline --hot",
"build-example": "rm -rf example/dist && webpack --config example/webpack.config.js --env.prod",
Expand Down
5 changes: 2 additions & 3 deletions test/utils.ts
Expand Up @@ -5,10 +5,9 @@ import merge from 'webpack-merge'
import hash from 'hash-sum'
// import MiniCssExtractPlugin from 'mini-css-extract-plugin'
import { fs as mfs } from 'memfs'

import { JSDOM, VirtualConsole } from 'jsdom'

import { VueLoaderPlugin, VueLoaderOptions } from '../dist/index'
import { VueLoaderPlugin } from '..'
import type { VueLoaderOptions } from '..'

const baseConfig: webpack.Configuration = {
mode: 'development',
Expand Down

0 comments on commit 56e8db7

Please sign in to comment.