Skip to content

feat: github action for MR #1

feat: github action for MR

feat: github action for MR #1

Workflow file for this run

name: Node.js CI
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
project: [ui, server]
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install dependencies
run: npm install
working-directory: ${{ matrix.project }}
- name: Run lint
run: npm run lint
working-directory: ${{ matrix.project }}
- name: Build
run: npm run build
working-directory: ${{ matrix.project }}