File tree Expand file tree Collapse file tree 1 file changed +18
-15
lines changed
Expand file tree Collapse file tree 1 file changed +18
-15
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,11 @@ permissions:
1111jobs :
1212 build :
1313 name : ' Build'
14- timeout-minutes : 15
14+ timeout-minutes : 5
1515 runs-on : ubuntu-latest
16+ environment :
17+ name : github-pages
18+ url : ${{ steps.deployment.outputs.page_url }}
1619 steps :
1720 - uses : actions/checkout@v3
1821 - uses : actions/setup-node@v3
@@ -30,11 +33,24 @@ jobs:
3033 - uses : actions/upload-pages-artifact@v2
3134 with :
3235 path : ./docs
36+ - name : Deploy to GitHub Pages
37+ id : deployment
38+ # https://github.com/actions/deploy-pages
39+ uses : actions/deploy-pages@v2
3340
3441 test :
3542 name : ' Test'
36- needs : build
43+ timeout-minutes : 20
44+ runs-on : ubuntu-latest
3745 steps :
46+ - uses : actions/checkout@v3
47+ - uses : actions/setup-node@v3
48+ with :
49+ node-version : ' 18.x'
50+ - name : Setup Dependencies
51+ run : |
52+ corepack enable
53+ npm install
3854 - name : Jest Tests
3955 env :
4056 CHINOOK_DATABASE_URL : ${{ secrets.CHINOOK_DATABASE_URL }}
4460 uses : codecov/codecov-action@v3
4561 env :
4662 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
47-
48- deploy :
49- name : ' Deploy'
50- needs : build
51- runs-on : ubuntu-latest
52- environment :
53- name : github-pages
54- url : ${{ steps.deployment.outputs.page_url }}
55- steps :
56- - name : Deploy to GitHub Pages
57- id : deployment
58- # https://github.com/actions/deploy-pages
59- uses : actions/deploy-pages@v2
You can’t perform that action at this time.
0 commit comments