Skip to content

Commit c70633a

Browse files
committed
Prettier and build scripts
1 parent 505f6a0 commit c70633a

1 file changed

Lines changed: 37 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,40 @@ jobs:
2424
- run: npm run backend_auth:lint:check
2525
- run: npm run frontend_auth:lint:check
2626
- run: npm run reactlib:lint:check
27-
- run: npm run typeslib:lint:checl
27+
- run: npm run typeslib:lint:check
28+
29+
prettier:
30+
runs-on: ubuntu-latest
31+
strategy:
32+
matrix:
33+
node-version: ["16.x"]
34+
35+
steps:
36+
- uses: actions/checkout@v3
37+
- name: Use Node.js ${{ matrix.node-version }}
38+
uses: actions/setup-node@v3
39+
with:
40+
node-version: ${{ matrix.node-version }}
41+
- run: npm install --save-dev
42+
- run: npm run backend:prettier:check
43+
- run: npm run backend_auth:prettier:check
44+
- run: npm run frontend_auth:prettier:check
45+
- run: npm run reactlib:prettier:check
46+
- run: npm run typeslib:prettier:check
47+
48+
build:
49+
runs-on: ubuntu-latest
50+
strategy:
51+
matrix:
52+
node-version: ["16.x"]
53+
54+
steps:
55+
- uses: actions/checkout@v3
56+
- name: Use Node.js ${{ matrix.node-version }}
57+
uses: actions/setup-node@v3
58+
with:
59+
node-version: ${{ matrix.node-version }}
60+
- run: npm install --save-dev
61+
- run: npm run reactlib:build
62+
- run: npm run backend_auth:build
63+
- run: npm run frontend_auth:build

0 commit comments

Comments
 (0)