Skip to content

Develop

Develop #1837

Workflow file for this run

name: Node.js CI - Root
on:
push:
branches: ["**"]
paths:
- "apps/root/**"
pull_request:
branches: ["master", "develop"]
paths:
- "apps/root/**"
jobs:
build:
runs-on: ubuntu-latest
env:
REACT_APP_API_BASE_URL: ${{ secrets.REACT_APP_API_BASE_URL_M }}
BIT_TOKEN: ${{ secrets.BIT_TOKEN }}
REACT_APP_BLOG_S3_BASE_URL: https://wasedatime-feeds.s3-ap-northeast-1.amazonaws.com
VITE_MF_SYLLABUS_BASE_PATH: http://localhost:8080
VITE_MF_CAMPUS_BASE_PATH: http://localhost:8081
VITE_MF_FORUM_BASE_PATH: http://localhost:8084
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/[email protected]
with:
node-version: 16.x
- name: Cache .pnpm-store
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-node16-${{ hashFiles('**/pnpm-lock.yaml') }}
- uses: ./.github/actions/microapp
with:
path: "apps/root"