Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: migrate to pnpm #2063

Merged
merged 8 commits into from Jan 22, 2024
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
51 changes: 30 additions & 21 deletions .github/workflows/ci.yml
Expand Up @@ -10,35 +10,44 @@ 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
with:
node-version: 16
cache: 'yarn'
- run: yarn install
- run: yarn test:webpack4
version: 8.12.0
Jinjiang marked this conversation as resolved.
Show resolved Hide resolved
- uses: actions/setup-node@v3
with:
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
with:
version: 8.12.0
- 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
with:
version: 8.12.0
- 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
2 changes: 2 additions & 0 deletions package.json
Expand Up @@ -54,6 +54,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 +64,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