CT-42/CT-166 #60
Workflow file for this run
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: Connectattoo - CI | |
on: | |
push: | |
branches: [ "develop" ] | |
pull_request: | |
branches: [ "develop" ] | |
jobs: | |
ci: | |
name: Lint and Build | |
strategy: | |
matrix: | |
os: [ ubuntu-latest ] | |
node-version: [ '18' ] | |
runs-on: ${{ matrix.os }} | |
environment: development | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Lint | |
run: npm run lint | |
- name: Prisma Generate | |
run: rm -rf node_modules/.prisma && npx prisma generate | |
- name: Test | |
run: npm run test | |
- name: Build | |
run: npm run build |