fix:兼容火狐浏览器无法正确判断元素(DevCloudFE#1883) (#1884) #3055
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: Pull Request | |
on: | |
push: | |
branches: [ dev, main, 1.0.0 ] | |
pull_request: | |
branches: [ dev, main, 1.0.0 ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
name: "Build: node-${{ matrix.node-version }}" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 6 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
- name: Install deps | |
run: pnpm i | |
- name: Build site | |
run: pnpm build | |
- name: ESLint | |
run: pnpm cli --filter vue-devui -- code-check -t eslint | |
- name: Unit test | |
run: pnpm cli --filter vue-devui -- code-check -t unit-test |