-
-
Notifications
You must be signed in to change notification settings - Fork 15
38 lines (34 loc) · 815 Bytes
/
build.yml
File metadata and controls
38 lines (34 loc) · 815 Bytes
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
name: Unit Tests 🧪
on:
pull_request:
branches:
- dev
- releases/v1
- releases/v2
push:
branches:
- '*'
tags-ignore:
- '*.*'
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6.0.2
- uses: actions/setup-node@v6.2.0
with:
node-version-file: '.node-version'
registry-url: 'https://registry.npmjs.org'
- name: Install Yarn
run: npm install -g yarn
- name: Install and Test
run: |
yarn install --frozen-lockfile
yarn lint:check
yarn lint:format:check
yarn test
- name: Uploade CodeCov Report
uses: codecov/codecov-action@v5.5.2
with:
token: ${{ secrets.CODECOV_TOKEN }}