feat(client): realtime state machine impl #92
Workflow file for this run
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 | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Format check | |
run: npx nx affected --target=format --base=remotes/origin/${{ github.base_ref }} | |
- name: Lint | |
run: npx nx affected --target=lint --base=remotes/origin/${{ github.base_ref }} | |
- name: Test | |
run: npx nx affected --target=test --base=remotes/origin/${{ github.base_ref }} | |
- name: Build | |
run: npx nx affected --target=build --prod --base=remotes/origin/${{ github.base_ref }} |