-
Notifications
You must be signed in to change notification settings - Fork 3.6k
38 lines (33 loc) · 1.41 KB
/
size-check.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
name: 'size'
on:
push:
branches:
- next
pull_request:
branches:
- next
jobs:
size:
runs-on: windows-latest
env:
CI_JOB_NUMBER: 1
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install pnpm
uses: pnpm/[email protected]
with:
version: 9
- name: Set node version to 18.20.0
uses: actions/setup-node@v2
with:
node-version: 18.20.0
cache: 'pnpm'
- run: pnpm install
- uses: fxy060608/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
manager: pnpm
build_script: build
files: packages/size-check/dist/size-check.es.js packages/size-check/dist/style.css packages/uni-app/dist/uni-app.es.js packages/uni-h5-vue/dist/vue.runtime.esm.js packages/uni-mp-vue/dist/vue.runtime.esm.js packages/uni-mp-alipay/dist/uni.api.esm.js packages/uni-mp-alipay/dist/uni.mp.esm.js packages/uni-mp-baidu/dist/uni.api.esm.js packages/uni-mp-baidu/dist/uni.mp.esm.js packages/uni-mp-qq/dist/uni.api.esm.js packages/uni-mp-qq/dist/uni.mp.esm.js packages/uni-mp-toutiao/dist/uni.api.esm.js packages/uni-mp-toutiao/dist/uni.mp.esm.js packages/uni-mp-weixin/dist/uni.api.esm.js packages/uni-mp-weixin/dist/uni.mp.esm.js packages/uni-quickapp-webview/dist/uni.api.esm.js packages/uni-quickapp-webview/dist/uni.mp.esm.js
- run: npm run test