Skip to content

Commit 53fe8f0

Browse files
Merge pull request #54 from ClaraCharriau/develop
RELEASE : 1.0.0
2 parents 51674cb + 58dc49a commit 53fe8f0

File tree

314 files changed

+43331
-19341
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

314 files changed

+43331
-19341
lines changed

β€Ž.env.productionβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DISABLE_ESLINT_PLUGIN=true

β€Ž.eslintignoreβ€Ž

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# dependencies
2+
/node_modules
3+
/.pnp
4+
.pnp.js
5+
6+
# production
7+
/build
8+
9+
# test
10+
/coverage
11+
12+
# misc
13+
.DS_Store
14+
.env.local
15+
.env.development.local
16+
.env.test.local
17+
.env.production.local
18+
19+
npm-debug.log*
20+
yarn-debug.log*
21+
yarn-error.log*
22+
23+
.eslintrc.js
24+
25+
.github
Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
1+
name: GitHub Actions CI
32

4-
name: Node.js CI
53

64
on:
75
push:
8-
branches: [ "main" ]
6+
branches: [ "main", "develop" ]
97
pull_request:
10-
branches: [ "main" ]
8+
branches: [ "main", "develop" ]
119

1210
jobs:
1311
build:
@@ -16,20 +14,21 @@ jobs:
1614

1715
strategy:
1816
matrix:
19-
node-version: [18.x]
20-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
17+
node-version: [20.x]
2118

2219
steps:
23-
- uses: actions/checkout@v3
24-
- name: Use Node.js ${{ matrix.node-version }}
25-
uses: actions/setup-node@v3
26-
with:
27-
node-version: ${{ matrix.node-version }}
28-
cache: 'npm'
29-
- run: npm ci
30-
- run: npm run build --if-present
31-
- run: npm test
32-
33-
- name: Create Coverage Badges
34-
uses: jaywcjlove/[email protected]
35-
20+
- uses: actions/checkout@v3
21+
- name: Use Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v3
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
cache: 'npm'
26+
- run: npm ci
27+
- run: npm run build --if-present
28+
- run: npm test
29+
30+
- name: Generate coverage report
31+
run: npm run coverage
32+
33+
- name: Create coverage badges
34+
run: npm run make-badges:ci

β€Ž.gitignoreβ€Ž

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2-
31
# dependencies
42
/node_modules
53
/.pnp
@@ -8,6 +6,9 @@
86
# production
97
/build
108

9+
# test
10+
/coverage
11+
1112
# misc
1213
.DS_Store
1314
.env.local

β€Ž.prettierignoreβ€Ž

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# dependencies
2+
/node_modules
3+
/.pnp
4+
.pnp.js
5+
6+
# production
7+
/build
8+
9+
# test
10+
/coverage
11+
12+
# misc
13+
.DS_Store
14+
.env.local
15+
.env.development.local
16+
.env.test.local
17+
.env.production.local
18+
19+
npm-debug.log*
20+
yarn-debug.log*
21+
yarn-error.log*
22+
23+
.github

β€Ž.prettierrcβ€Ž

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"printWidth": 120,
3+
"singleQuote": true,
4+
"useTabs": false,
5+
"tabWidth": 4,
6+
"semi": true,
7+
"bracketSpacing": true,
8+
"arrowParens": "avoid",
9+
"trailingComma": "none"
10+
}

β€ŽREADME.mdβ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
Front side of Ma-seance
44

5-
![Coverage](./coverage/badges.svg)
5+
| Statements | Branches | Functions | Lines |
6+
| --------------------------- | ----------------------- | ------------------------- | ----------------- |
7+
| ![Statements](https://img.shields.io/badge/statements-96.73%25-brightgreen.svg?style=flat) | ![Branches](https://img.shields.io/badge/branches-87.95%25-yellow.svg?style=flat) | ![Functions](https://img.shields.io/badge/functions-95.76%25-brightgreen.svg?style=flat) | ![Lines](https://img.shields.io/badge/lines-96.68%25-brightgreen.svg?style=flat) |
68

79
## How to run ?
810

β€Žcoverage/badges.svgβ€Ž

Lines changed: 0 additions & 20 deletions
This file was deleted.

β€Žcoverage/clover.xmlβ€Ž

Lines changed: 0 additions & 13 deletions
This file was deleted.

β€Žcoverage/coverage-final.jsonβ€Ž

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
Β (0)