-
-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (33 loc) · 914 Bytes
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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: "18"
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/codeclimate-action@v3.0.0
# env:
# CC_TEST_REPORTER_ID: c206a2ed5aa86c7480a13634e91e440a27a98a5d134653f8ea9a7d5f987e68c3
# with:
# coverageLocations: |
# ${{github.workspace}}/packages/core/coverage/lcov.info:lcov
# ${{github.workspace}}/packages/react/coverage/lcov.info:lcov