Skip to content

Remove node_modules and .next from version control #21

Remove node_modules and .next from version control

Remove node_modules and .next from version control #21

Workflow file for this run

name: CI Pipeline
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
- name: Install dependencies
run: npm install
- name: Run Prettier
run: npx prettier --write .
- name: Run ESLint
run: npm run lint
- name: Build Next.js app
run: npm run build
- name: Run tests
run: npm test