fix(dev): 修复webpack下--host参数失效问题 #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: NodeJS 20 CI | |
on: | |
push: | |
branches: [master, v*-**] | |
pull_request: | |
branches: [master, v*-**] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup NodeJS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
- uses: pnpm/action-setup@v2 | |
name: Install PNPM | |
with: | |
version: 8.x | |
run_install: | | |
- args: [--frozen-lockfile] | |
- name: Build | |
run: pnpm run build | |
- name: Lint | |
run: pnpm run lint | |
env: | |
NODE_OPTIONS: --max-old-space-size=4096 | |
- name: Install Playwright | |
working-directory: showcase/todo | |
run: npx playwright install-deps chromium && npx playwright install chromium | |
- name: Test | |
run: pnpm run test | |
env: | |
CI: true |