-
Notifications
You must be signed in to change notification settings - Fork 12
35 lines (28 loc) · 955 Bytes
/
build.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
name: Docker
on: [push, 'pull_request']
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'yarn'
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Code format check
run: yarn format:check
- name: Linting
run: yarn lint
- name: Run Tests
run: yarn test:ci
- name: Merge coveralls reports
run: yarn coveralls
- name: Publish coveralls report
uses: coverallsapp/github-action@master
with:
path-to-lcov: 'coverage/lcov.info'
github-token: ${{ secrets.GITHUB_TOKEN }}