-
-
Notifications
You must be signed in to change notification settings - Fork 108
40 lines (38 loc) · 965 Bytes
/
validate.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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 }}