Merge pull request #728 from smartxworks/fix/validation-trait #1419
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: CI | |
on: | |
push: | |
branches: [main, develop] | |
pull_request: | |
branches: [main, develop] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: "16" | |
- name: install dependencies | |
run: yarn install | |
- name: run test | |
run: "yarn test:ci" | |
# uses: mattallty/jest-github-action@v1 | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# with: | |
# test-command: "yarn test:ci" | |
# coverage-comment: ${{ github.event_name == 'pull_request'}} |