feat(quizset): add quiz set #216
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 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: 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 |