File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : UnityAuth Frontend CI
2
+ on :
3
+ push :
4
+ branches : [main]
5
+ pull_request :
6
+ branches : [main]
7
+ jobs :
8
+ UnityAuth-Frontend-CI :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ # setup node
12
+ - uses : actions/checkout@v3
13
+ - name : Use Node.js 18.18.0
14
+ uses : actions/setup-node@v3
15
+ with :
16
+ node-version : 18.18.0
17
+ # install dependencies
18
+ - name : Install Dependencies
19
+ run : npm ci
20
+ working-directory : ./frontend
21
+ # run prettier
22
+ - name : Check formatting with Prettier
23
+ run : npx prettier . --check
24
+ working-directory : ./frontend
25
+ # run linter
26
+ - name : Lint project with Eslint
27
+ run : npx eslint .
28
+ working-directory : ./frontend
29
+ # run svelte check
30
+ - name : Run Svelte Check
31
+ run : npm run check
32
+ working-directory : ./frontend
33
+ # run unit tests
34
+ - name : Run unit tests
35
+ run : npm run test:unit
36
+ working-directory : ./frontend
You can’t perform that action at this time.
0 commit comments