File tree Expand file tree Collapse file tree 2 files changed +37
-10
lines changed
Expand file tree Collapse file tree 2 files changed +37
-10
lines changed Original file line number Diff line number Diff line change 1+ name : CD
2+ on :
3+ push :
4+ branches :
5+ - master
6+ pull_request :
7+
8+ permissions :
9+ contents : write
10+
11+ jobs :
12+ main :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v2
16+ with :
17+ fetch-depth : 0
18+ - uses : nrwl/nx-set-shas@v2
19+ - run : npm install --legacy-peer-deps
20+
21+ - run : npx nx workspace-lint
22+
23+ - run : npx nx run-many --target=lint --all
24+
25+ - run : npm run build:all
26+
27+ - run : npm run test:all
28+
29+ - name : Upload coverage to Codecov
30+ uses : codecov/codecov-action@v3
31+
32+ - name : Deploy 🚀
33+ uses : JamesIves/github-pages-deploy-action@v4
34+ with :
35+ token : ${{ secrets.DEPLOY_KEY }}
36+ repository-name : feakin/online
37+ folder : packages/render/dist
Original file line number Diff line number Diff line change 55 - master
66 pull_request :
77
8- permissions :
9- contents : write
10-
118jobs :
129 main :
1310 runs-on : ubuntu-latest
2825
2926 - name : Upload coverage to Codecov
3027 uses : codecov/codecov-action@v3
31-
32- - name : Deploy 🚀
33- uses : JamesIves/github-pages-deploy-action@v4
34- with :
35- token : ${{ secrets.DEPLOY_KEY }}
36- repository-name : feakin/online
37- folder : packages/render/dist
You can’t perform that action at this time.
0 commit comments