mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 02:11:57 +00:00
Update commands for pnpm
This commit is contained in:
parent
ee201a9635
commit
964341f728
|
@ -38,5 +38,5 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"postCreateCommand": "yarn install"
|
"postCreateCommand": "pnpm install"
|
||||||
}
|
}
|
||||||
|
|
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
@ -30,23 +30,23 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: ${{ matrix.node }}
|
||||||
|
|
||||||
- run: yarn install
|
- run: pnpm run install
|
||||||
|
|
||||||
- name: Run Lint
|
- name: Run Lint
|
||||||
run: yarn lint-ci
|
run: pnpm run lint-ci
|
||||||
|
|
||||||
- name: Run type check
|
- name: Run type check
|
||||||
run: yarn check-types
|
run: pnpm run check-types
|
||||||
|
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: yarn test:unit
|
run: pnpm run test:unit
|
||||||
|
|
||||||
# Playwright section
|
# Playwright section
|
||||||
- name: Install Playwright Browsers
|
- name: Install Playwright Browsers
|
||||||
run: yarn playwright install --with-deps
|
run: pnpm run playwright install --with-deps
|
||||||
|
|
||||||
- name: Run Playwright tests
|
- name: Run Playwright tests
|
||||||
run: yarn playwright test
|
run: pnpm run playwright test
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
if: ${{ !cancelled() }}
|
if: ${{ !cancelled() }}
|
||||||
|
@ -58,7 +58,7 @@ jobs:
|
||||||
# End Playwright section
|
# End Playwright section
|
||||||
|
|
||||||
- name: Build build
|
- name: Build build
|
||||||
run: yarn build
|
run: pnpm run build
|
||||||
|
|
||||||
- name: Archive artifacts
|
- name: Archive artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
"check-types": "vue-tsc --noEmit",
|
"check-types": "vue-tsc --noEmit",
|
||||||
"lint": "eslint src tests e2e",
|
"lint": "eslint src tests e2e",
|
||||||
"lint-ci": "eslint --no-fix src tests e2e",
|
"lint-ci": "eslint --no-fix src tests e2e",
|
||||||
"test:e2e": "yarn playwright test",
|
"test:e2e": "pnpm run playwright test",
|
||||||
"test:e2e-chromium": "yarn playwright test --project=chromium",
|
"test:e2e-chromium": "pnpm run playwright test --project=chromium",
|
||||||
"test:e2e-msedge": "yarn playwright test --project=msedge"
|
"test:e2e-msedge": "pnpm run playwright test --project=msedge"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@noction/vue-draggable-grid": "1.9.16",
|
"@noction/vue-draggable-grid": "1.9.16",
|
||||||
|
|
|
@ -73,7 +73,7 @@ export default defineConfig({
|
||||||
|
|
||||||
/* Run your local dev server before starting the tests */
|
/* Run your local dev server before starting the tests */
|
||||||
webServer: {
|
webServer: {
|
||||||
command: 'yarn dev',
|
command: 'pnpm run dev',
|
||||||
url: 'http://localhost:3000',
|
url: 'http://localhost:3000',
|
||||||
reuseExistingServer: !process.env.CI,
|
reuseExistingServer: !process.env.CI,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user