fix: 小程序运行时将getSystemInfoSync 方法替换为各平台的getBaseSystemInfo #6355
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: '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 |