Skip to content

feat: add build and deploy workflow for client, server, and docs #3

feat: add build and deploy workflow for client, server, and docs

feat: add build and deploy workflow for client, server, and docs #3

Workflow file for this run

name: "ESLint: server"
on:
pull_request:
paths:
- 'server/**'
jobs:
lint:
name: "Lint"
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- uses: ./.github/actions/setup-node-env
with:
node-version: 18
cache-path: server/node_modules
cache-key: "${{hashFiles('server/pnpm-lock.yaml')}}"
project: server
- name: Run lint script on /server
run: |
cd server
npm run lint