fix breaking change #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build prod WB dashboard | |
on: | |
pull_request: | |
branches: | |
- "main" | |
- "staging" | |
paths: | |
- ".github/workflows/build_prod_wb-dashboard.yml" | |
- "webapps/world-builder-dashboard/**" | |
jobs: | |
build_prod_wb-dashboard: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository and main branch | |
uses: actions/checkout@v2 | |
- name: Set up node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "20.14.0" | |
- name: Build frontend | |
working-directory: ./webapps/world-builder-dashboard | |
env: | |
VITE_NB_JSON_RPC_URI: ${{ secrets.VITE_NB_JSON_RPC_URI }} | |
VITE_NB_WB_DASHBOARD_ACCESS_ID: ${{ secrets.VITE_NB_WB_DASHBOARD_ACCESS_ID }} | |
run: | | |
npm install | |
npm run build |