Skip to content

CW2-24 Setup Backend #3

CW2-24 Setup Backend

CW2-24 Setup Backend #3

Workflow file for this run

name: Backend CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend
steps:
- uses: actions/checkout@v3
- name: Use Node.js 22
uses: actions/setup-node@v3
with:
node-version: 22
- name: Install dependencies
run: npm install
- name: Check types
run: npm run type-check
- name: Build Express app
run: npm run build