fix issue 7625 #1300
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: Test | |
on: | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: 'yarn' | |
- uses: actions/checkout@v3 | |
with: | |
repository: 'wenzhixin/bootstrap-table-examples' | |
path: './tools/bootstrap-table-examples' | |
- name: Lint src and check docs | |
run: | | |
yarn install --frozen-lockfile | |
yarn pre-commit | |
- name: Cypress Test | |
run: | | |
mv ./tools/bootstrap-table-examples cypress/html | |
yarn css:build:src | |
yarn test |