Meta: Update sonarcloud readme #295
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: Build | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install Dependencies | |
run: | | |
cd client | |
npm ci | |
cd ../server | |
npm ci | |
cd .. | |
npm install typescript | |
- name: Build Client | |
run: | | |
cd client | |
npx tsc | |
cd .. | |
- name: Build Server | |
run: | | |
cd server | |
npx tsc | |
cd .. |