Skip to content

chore: upgrade to latest nx version #20

chore: upgrade to latest nx version

chore: upgrade to latest nx version #20

Workflow file for this run

name: 'ci-cd pipeline'
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: 'npm'
cache-dependency-path: package-lock.json
- name: Install dependencies
run: npm ci
- name: Build file
run: nx run conduit:build
- name: Deploy production to Netlify
uses: South-Paw/action-netlify-deploy@v1.2.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
netlify-auth-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
netlify-site-id: ${{ secrets.NETLIFY_SITE_ID }}
build-dir: './build'
comment-on-commit: true