Skip to content

Update Node.js version to 20.9.0 #18

Update Node.js version to 20.9.0

Update Node.js version to 20.9.0 #18

Workflow file for this run

name: ✨ Next.js lint checks
on:
push:
branches:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository 🔍
uses: actions/checkout@v2
- name: Setup Node.js 🫡
uses: actions/setup-node@v2
with:
node-version: "20.9.0" # Use a specific Node.js version, adjust as needed
- name: Install Dependencies ☘️
run: npm i # Use npm i for faster and more consistent installs
- name: Tests and Linting ✅
run: |
npm run format # Run Prettier to format code
npm run lint # Run linting checks
# If any of the above steps fail, the workflow will stop
- name: Production build ✨
run: npm run build
env:
GENERATIVE_API_KEY: ${{ secrets.GENERATIVE_API_KEY }}