Issue 736 upgrade iframe version #1190
Workflow file for this run
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: CI | |
on: | |
pull_request: | |
branches: ["main"] | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: .node-version | |
cache: pnpm | |
- run: pnpm install --frozen-lockfile | |
# Deal with OOM https://github.com/vitejs/vite/issues/2433 | |
- run: NODE_OPTIONS="--max-old-space-size=8192" pnpm build | |
Lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: .node-version | |
cache: pnpm | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm lint | |
Test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: .node-version | |
cache: pnpm | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm test |