run all apps #1
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: ReactJS Build and Dev | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: packages/civic-auth/reactjs | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Install dependencies' | |
shell: bash | |
run: yarn install --frozen-lockfile | |
- name: Build | |
run: yarn build | |
- name: Start dev server | |
run: yarn dev & npx wait-on http://localhost:3006 | |
timeout-minutes: 2 |