57: Install before deploy r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@status.im>
This commit is contained in:
bors[bot] 2021-04-23 05:25:14 +00:00 committed by GitHub
commit 5789f39553
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 3 deletions

View File

@ -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

View File

@ -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:

View File

@ -1,3 +1,3 @@
status = ["build_and_test"] status = ["build_and_test", "web_chat_build_and_test"]
block_labels = ["work-in-progress"] block_labels = ["work-in-progress"]
delete_merged_branches = true delete_merged_branches = true