Merge pull request #18 from Multiwoven/feat/sync-records #5
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: UI - Validate Workflow | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "ui/**" | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "ui/**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "18" | |
- name: Install dependencies | |
run: npm install | |
working-directory: ./ui | |
- name: Build Source Code | |
run: npm run build | |
working-directory: ./ui | |
- name: Lint Source Code | |
run: npm run lint | |
working-directory: ./ui |