mirror of https://github.com/waku-org/js-waku.git
Merge #57
57: Install before deploy r=D4nte a=D4nte Co-authored-by: Franck Royer <franck@status.im>
This commit is contained in:
commit
5789f39553
|
@ -6,7 +6,7 @@ on:
|
||||||
- 'main'
|
- 'main'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_and_test:
|
deploy_gh_pages:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
@ -24,6 +24,16 @@ jobs:
|
||||||
path: ~/.npm
|
path: ~/.npm
|
||||||
key: node-v1-${{ hashFiles('**/package-lock.json') }}
|
key: node-v1-${{ hashFiles('**/package-lock.json') }}
|
||||||
|
|
||||||
|
- name: "[js-waku] install using npm ci"
|
||||||
|
uses: bahmutov/npm-install@v1
|
||||||
|
|
||||||
|
- name: "[js-waku] build"
|
||||||
|
run: npm run build
|
||||||
|
|
||||||
|
- name: install using npm i
|
||||||
|
run: npm install
|
||||||
|
working-directory: web-chat
|
||||||
|
|
||||||
- name: Deploy web chat app on gh pages
|
- name: Deploy web chat app on gh pages
|
||||||
run: npm run deploy
|
run: npm run deploy
|
||||||
working-directory: web-chat
|
working-directory: web-chat
|
||||||
|
|
|
@ -9,7 +9,7 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_and_test:
|
web_chat_build_and_test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue