-
-
Notifications
You must be signed in to change notification settings - Fork 92
27 lines (23 loc) · 584 Bytes
/
build.yml
File metadata and controls
27 lines (23 loc) · 584 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
name: build&test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 23
cache: "yarn"
- name: Install
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
- name: Test
run: yarn test:coverage
- uses: codecov/codecov-action@v5
with:
fail_ci_if_error: true
flags: unittests
token: ${{ secrets.CODECOV_TOKEN }}