Commit 5a5a6346
5a5a63468d69Merged
Maxence Lecanu <[email protected]> · 1 year ago · 1 file · +1 added
Description
chore: add CI
Details
- Commit
- 5a5a63468d69
- Parent
- b502e5c346fb
.github/workflows/quality.ymladdedView file
1+
name: Pull Requests Quality Check2+
3+
on:4+
pull_request:5+
branches:6+
- main7+
8+
jobs:9+
build:10+
runs-on: ubuntu-latest11+
12+
steps:13+
- name: Checkout code14+
uses: actions/checkout@v315+
16+
- name: Set up Node.js17+
uses: actions/setup-node@v318+
with:19+
node-version: '22'20+
21+
- name: Install dependencies22+
run: yarn install23+
24+
- name: Lint code25+
run: yarn lint26+
27+
- name: Check code formatting28+
run: yarn format:check29+
30+
- name: Run tests31+
run: yarn test32+
33+
- name: Upload coverage reports to Codecov34+
uses: codecov/codecov-action@v535+
with:36+
token: ${{ secrets.CODECOV_TOKEN }}