mirror of
https://github.com/waku-org/js-waku.git
synced 2025-02-26 11:05:39 +00:00
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
12
.github/workflows/deploy-gh-pages.yml
vendored
12
.github/workflows/deploy-gh-pages.yml
vendored
@ -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
|
||||
|
2
.github/workflows/webchat-ci.yml
vendored
2
.github/workflows/webchat-ci.yml
vendored
@ -9,7 +9,7 @@ on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build_and_test:
|
||||
web_chat_build_and_test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user