Skip to content

chore: docker configuration files (#2) #9

chore: docker configuration files (#2)

chore: docker configuration files (#2) #9

Workflow file for this run

name: 'Build Next.js Application'
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Read .nvmrc
run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_ENV
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install Dependencies
run: npm ci
- name: Build Next.js Application
run: npm run build
- name: Run lint
run: npm run lint