Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit 08836f2

Browse files
committed
initial commit
1 parent dab0be0 commit 08836f2

File tree

439 files changed

+42527
-112404
lines changed

Some content is hidden

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

439 files changed

+42527
-112404
lines changed
File renamed without changes.
File renamed without changes.

frontend/.eslintignore renamed to .eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
*.min.js
33
.*cache
44
.next/
5+
backend/
56
build/
67
dist/
8+
docs/
79
node_modules/
810
public/
File renamed without changes.

.github/workflows/assertions.yml

Lines changed: 6 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -10,54 +10,33 @@ jobs:
1010
lint:
1111
runs-on: ubuntu-latest
1212

13-
strategy:
14-
matrix:
15-
node-version: ["lts/*"]
16-
1713
steps:
1814
- name: Checkout repository
1915
uses: actions/checkout@v2
2016
with:
2117
token: ${{ github.token }}
2218

23-
- name: Use Node.js ${{ matrix.node-version }}
19+
- name: Setup Node
2420
uses: actions/setup-node@v2
2521
with:
26-
node-version: ${{ matrix.node-version }}
27-
28-
- name: Update NPM
29-
run: npm i -g npm@latest
30-
31-
- name: Cache NPM Dependencies
32-
uses: actions/cache@v2
33-
with:
34-
path: ~/.npm
35-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
36-
restore-keys: |
37-
${{ runner.os }}-build-${{ env.cache-name }}-
38-
${{ runner.os }}-build-
39-
${{ runner.os }}-
22+
node-version: 'lts/*'
23+
cache: 'npm'
4024

4125
- name: Install Dependencies
4226
run: |
43-
cd frontend
4427
npm i --legacy-peer-deps
4528
cd ../docs
4629
npm i --legacy-peer-deps
4730
4831
- name: Lint Docs
4932
run: |
5033
cd docs
51-
npx markdownlint 'docs/**/*.md'
34+
npm run lint
5235
5336
- name: Lint Frontend
5437
run: |
55-
cd frontend
56-
npx stylelint '**/*.css'
57-
npx markdownlint '**/*.md'
58-
npx eslint '**/*.js'
38+
npm run lint
5939
6040
- name: Run Frontend Tests
6141
run: |
62-
cd frontend
63-
npx jest
42+
npm run test:jest

.github/workflows/chromatic.yml

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,39 +10,21 @@ jobs:
1010
chromatic:
1111
runs-on: ubuntu-latest
1212

13-
strategy:
14-
matrix:
15-
node-version: ["lts/*"]
16-
1713
steps:
1814
- name: Checkout Repository
1915
uses: actions/checkout@v2
2016
with:
2117
token: ${{ github.token }}
2218
fetch-depth: 0
2319

24-
- name: Use Node.js ${{ matrix.node-version }}
20+
- name: Setup Node
2521
uses: actions/setup-node@v2
2622
with:
27-
node-version: ${{ matrix.node-version }}
28-
29-
- name: Update NPM
30-
run: npm i -g npm@latest
31-
32-
- name: Cache NPM Dependencies
33-
uses: actions/cache@v2
34-
with:
35-
path: ~/.npm
36-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
37-
restore-keys: |
38-
${{ runner.os }}-build-${{ env.cache-name }}-
39-
${{ runner.os }}-build-
40-
${{ runner.os }}-
23+
node-version: 'lts/*'
24+
cache: 'npm'
4125

4226
- name: Install Dependencies
43-
run: |
44-
cd frontend
45-
npm i --legacy-peer-deps
27+
run: npm i --legacy-peer-deps
4628

4729
- name: Publish to Chromatic
4830
uses: chromaui/action@v1
@@ -52,4 +34,4 @@ jobs:
5234
workingDir: frontend
5335
exitZeroOnChanges: true
5436
exitOnceUploaded: true
55-
skip: "dependabot/**"
37+
skip: 'dependabot/**'

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: "CodeQL"
1+
name: 'CodeQL'
22

33
on:
44
schedule:
5-
- cron: "0 0 * * *"
5+
- cron: '0 0 * * *'
66

77
workflow_dispatch:
88

@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
language: ["javascript"]
21+
language: ['javascript']
2222

2323
steps:
2424
- name: Checkout repository
@@ -28,9 +28,7 @@ jobs:
2828
uses: github/codeql-action/init@v1
2929
with:
3030
languages: ${{ matrix.language }}
31-
32-
- name: Autobuild
33-
uses: github/codeql-action/autobuild@v1
31+
queries: security-extended
3432

3533
- name: Perform CodeQL Analysis
3634
uses: github/codeql-action/analyze@v1

.github/workflows/publish.yml

Lines changed: 8 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ jobs:
1111
publish-docs:
1212
runs-on: ubuntu-latest
1313

14-
strategy:
15-
matrix:
16-
node-version: [14.x]
17-
1814
steps:
1915
- name: Checkout repository
2016
uses: actions/checkout@v2
@@ -26,29 +22,17 @@ jobs:
2622
with:
2723
ssh-private-key: ${{ secrets.GH_PAGES_PRIVATE_KEY }}
2824

29-
- name: Setup Node ${{ matrix.node-version }}
30-
uses: actions/setup-node@v2.5.1
25+
- name: Setup Node
26+
uses: actions/setup-node@v2
3127
with:
32-
node-version: ${{ matrix.node-version }}
33-
34-
- name: Use NPM 7
35-
run: npm i -g npm@latest
28+
node-version: 'lts/*'
29+
cache: 'npm'
3630

3731
- name: Setup Git
3832
run: |
3933
git config --global user.email ${{ secrets.GIT_USER_EMAIL }}
4034
git config --global user.name ${{ secrets.GIT_USER_NAME }}
4135
42-
- name: Cache Node dependencies
43-
uses: actions/cache@v2
44-
with:
45-
path: ~/.npm
46-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
47-
restore-keys: |
48-
${{ runner.os }}-build-${{ env.cache-name }}-
49-
${{ runner.os }}-build-
50-
${{ runner.os }}-
51-
5236
- name: Install dependencies
5337
run: |
5438
cd docs
@@ -70,33 +54,17 @@ jobs:
7054
publish-storybook:
7155
runs-on: ubuntu-latest
7256

73-
strategy:
74-
matrix:
75-
node-version: [14.x]
76-
7757
steps:
7858
- name: Checkout repository
7959
uses: actions/checkout@v2
8060
with:
8161
token: ${{ github.token }}
8262

83-
- name: Use Node.js ${{ matrix.node-version }}
84-
uses: actions/[email protected]
85-
with:
86-
node-version: ${{ matrix.node-version }}
87-
88-
- name: Use NPM 7
89-
run: npm i -g npm@latest
90-
91-
- name: Cache dependencies
92-
uses: actions/cache@v2
63+
- name: Setup Node
64+
uses: actions/setup-node@v2
9365
with:
94-
path: ~/.npm
95-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
96-
restore-keys: |
97-
${{ runner.os }}-build-${{ env.cache-name }}-
98-
${{ runner.os }}-build-
99-
${{ runner.os }}-
66+
node-version: 'lts/*'
67+
cache: 'npm'
10068

10169
- name: Install dependencies
10270
run: |
File renamed without changes.

.markdownlintignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
!/.*.js
2+
*.min.js
3+
.*cache
4+
.next/
5+
__tests__/
6+
backend/
7+
build/
8+
dist/
9+
docs/
10+
node_modules/
11+
public/

0 commit comments

Comments
 (0)