Mod page reload #381
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: Validate | |
on: | |
pull_request | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- uses: pnpm/action-setup@v2.0.1 | |
with: | |
version: 7.13.2 | |
- name: Use Node.js 16 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
cache: 'pnpm' | |
- name: Install | |
run: | | |
pnpm install --filter=!./xmcl-page | |
- name: Lint | |
run: | | |
pnpm run --filter ./xmcl-electron-app lint | |
pnpm run --filter ./xmcl-keystone-ui lint | |
pnpm run --filter ./xmcl-runtime lint | |
pnpm run --filter ./xmcl-runtime-api lint | |
- name: Check | |
run: | | |
pnpm run --filter ./xmcl-electron-app check | |
pnpm run --filter ./xmcl-keystone-ui check | |
pnpm run --filter ./xmcl-runtime check | |
pnpm run --filter ./xmcl-runtime-api check | |
- name: Build | |
run: | | |
pnpm run --prefix xmcl-keystone-ui build | |
pnpm run --prefix xmcl-electron-app build | |