File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 1414jobs :
1515 ci :
1616 runs-on : ubuntu-latest
17-
17+ defaults :
18+ run :
19+ working-directory : shared-models
1820 steps :
1921 - name : Checkout repository
2022 uses : actions/checkout@v4
@@ -26,21 +28,20 @@ jobs:
2628 cache : ' npm'
2729
2830 - name : Install dependencies
29- run : cd internal/dev_server/ui && npm ci
31+ run : npm ci
3032
3133 - name : Run lint
32- run : cd internal/dev_server/ui && npm run lint
34+ run : npm run lint
3335
3436 - name : Run Prettier
35- run : cd internal/dev_server/ui && npm run prettier:write
37+ run : cd npm run prettier:write
3638
3739 - name : Run tests
38- run : cd internal/dev_server/ui && npm test
40+ run : npm test
3941
4042 - name : Run build
41- run : cd internal/dev_server/ui && npm run build
43+ run : npm run build
4244
4345 - name : Check for uncommitted changes
4446 run : |
45- cd internal/dev_server/ui
4647 git diff --exit-code || (echo 'Error: Uncommitted changes detected after build. Run the build locally and commit the changes.' && exit 1)
You can’t perform that action at this time.
0 commit comments