File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed
Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 11name : Node.js CI
22
3- on : [push]
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
48
59jobs :
610 build :
711 runs-on : ubuntu-latest
812
913 steps :
1014 - uses : actions/checkout@v2
11- - uses : actions/setup-node@v2
1215 with :
13- node-version : ' 16.x'
16+ fetch-depth : 0
17+ - uses : nrwl/nx-set-shas@v2
1418 - run : npm ci
19+ - run : npx nx workspace-lint
20+ - run : npx nx format:check
1521 - run : npx nx run-many --target=lint --all
16- - run : npx nx run-many --target=build --all
1722 - run : npx nx run-many --target=test --all
23+ - run : npx nx run dev-server:build
24+ - run : npm run build:prod
1825 env :
1926 CI : true
Original file line number Diff line number Diff line change 1- module . exports = {
1+ /* eslint-disable */
2+ export default {
23 displayName : 'dev-server' ,
34 preset : '../../jest.preset.js' ,
45 globals : {
Original file line number Diff line number Diff line change 22 "$schema" : " ./node_modules/nx/schemas/nx-schema.json" ,
33 "npmScope" : " npl" ,
44 "affected" : {
5- "defaultBase" : " master "
5+ "defaultBase" : " main "
66 },
77 "implicitDependencies" : {
88 "package.json" : {
You can’t perform that action at this time.
0 commit comments