Merge pull request #5 from ImLunaHey/main #7
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: Tests | |
on: push | |
jobs: | |
tests: | |
name: Run tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
cache: "yarn" | |
- name: Install packages | |
run: yarn install --frozen-lockfile | |
- name: Build | |
run: yarn build | |
- name: Lint | |
run: yarn lint | |
- name: Clear Jest | |
run: yarn jest --clearCache | |
- name: Test | |
run: yarn test --coverage | |
# - name: Send Report | |
# uses: paambaati/[email protected] | |
# env: | |
# CC_TEST_REPORTER_ID: c206a2ed5aa86c7480a13634e91e440a27a98a5d134653f8ea9a7d5f987e68c3 | |
# with: | |
# coverageLocations: | | |
# ${{github.workspace}}/packages/core/coverage/lcov.info:lcov | |
# ${{github.workspace}}/packages/react/coverage/lcov.info:lcov |