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'
|
||||
|
||||
jobs:
|
||||
build_and_test:
|
||||
deploy_gh_pages:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
|
@ -24,6 +24,16 @@ jobs:
|
|||
path: ~/.npm
|
||||
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
|
||||
run: npm run deploy
|
||||
working-directory: web-chat
|
||||
|
|
|
@ -9,7 +9,7 @@ on:
|
|||
pull_request:
|
||||
|
||||
jobs:
|
||||
build_and_test:
|
||||
web_chat_build_and_test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
|
|
Loading…
Reference in New Issue