Skip to content

Infra refactor

Infra refactor #426

Workflow file for this run

name: Validate
on:
pull_request
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: pnpm/[email protected]
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
- name: Lint
run: |
pnpm -r lint
- name: Check
run: |
pnpm -r check
- name: Build
run: |
pnpm run --prefix xmcl-keystone-ui build
pnpm run --prefix xmcl-electron-app build
env:
BUILD_NUMBER: ${{ github.run_number }}
NODE_ENV: production
CURSEFORGE_API_KEY: ${{ secrets.CURSEFORGE_API_TOKEN }}
WIN_CSC_LINK: ${{ secrets.CODE_SIGN_BASE64 }}
APPX_PUBLISHER: ${{ secrets.APPX_PUBLISHER }}
WIN_CSC_KEY_PASSWORD: ${{ secrets.CODE_SIGN_PWD }}