Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 24 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,35 +10,38 @@ jobs:
test-webpack4:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set node version to 16
uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'yarn'
- run: yarn install
- run: yarn test:webpack4
node-version: '16'
cache: 'pnpm'
- run: pnpm install
- run: pnpm pretest:webpack4
- run: pnpm test:webpack4

test-webpack5:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set node version to 16
uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'yarn'
- run: yarn install
- run: yarn test
node-version: '16'
cache: 'pnpm'
- run: pnpm install
- run: pnpm pretest
- run: pnpm test

test-webpack5-inline-match-resource:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set node version to 16
uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'yarn'
- run: yarn install
- run: yarn test:match-resource
node-version: '16'
cache: 'pnpm'
- run: pnpm install
- run: pnpm pretest:match-resource
- run: pnpm test:match-resource
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"prettier --parser=typescript --write"
]
},
"packageManager": "[email protected]",
"dependencies": {
"chalk": "^4.1.0",
"watchpack": "^2.4.0"
Expand All @@ -54,6 +55,7 @@
"@babel/core": "^7.7.7",
"@babel/preset-env": "^7.11.5",
"@intlify/vue-i18n-loader": "^3.0.0",
"@types/cssesc": "^3.0.2",
"@types/estree": "^0.0.45",
"@types/jest": "^26.0.13",
"@types/jsdom": "^16.2.13",
Expand All @@ -63,6 +65,7 @@
"cache-loader": "^4.1.0",
"conventional-changelog-cli": "^2.1.1",
"css-loader": "^4.3.0",
"cssesc": "^3.0.0",
"file-loader": "^6.1.0",
"html-webpack-plugin": "^4.5.0",
"html-webpack-plugin-v5": "npm:html-webpack-plugin@^5.3.2",
Expand Down
Loading