Skip to content

#68 production dockerfiles builds pushing in ci #22

#68 production dockerfiles builds pushing in ci

#68 production dockerfiles builds pushing in ci #22

name: 'PR & Push API Build'
on:
pull_request:
branches:
- '*'
paths:
- 'libs/**'
- 'apps/api/**'
push:
branches:
- '*'
paths:
- 'libs/**'
- 'apps/api/**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: 'Install dependencies'
run: yarn install
- name: 'Build Api'
run: npx nx run api:build