fix: fix icon display error in qq miniprogram #203
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: Receive PR | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
test-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "16.x" | |
cache: "yarn" | |
- name: Install npm Dependencies | |
run: | | |
npm install | |
npm cache clean --force | |
npm audit fix --force | |
- name: Install Yarn Dependencies | |
run: | | |
yarn install --frozen-lockfile --production=false | |
- name: Lint | |
run: | | |
yarn run lint | |
- name: Build H5 | |
run: | | |
yarn run build-dev:h5 | |
- name: Build Weixin Miniprogram | |
run: | | |
yarn run build:mp-weixin | |
- name: Build QQ Miniprogram | |
run: | | |
npm run dev:mp-qq | |
- name: Save PR number | |
run: | | |
mkdir -p ./pr | |
echo ${{ github.event.number }} > ./pr/NR | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: pr | |
path: | | |
./pr/NR | |
./dist/build/h5 |