Fix connection between FE and Yjs (#133) #27
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: Frontend CI Workflow | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
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: | | |
cd frontend | |
npm install | |
# Build Check | |
- name: Build Project | |
run: | | |
cd frontend | |
npm run build | |
# Lint Check | |
- name: Lint Code | |
run: | | |
cd frontend | |
npm run lint |