Skip to content

fix: ♻️ change node version and name main workflow #2

fix: ♻️ change node version and name main workflow

fix: ♻️ change node version and name main workflow #2

Workflow file for this run

name: nextjs-app-router-boilerplate
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: yarn install
- name: Run linting
run: yarn lint
- name: Run tests
run: yarn test
- name: Build Next.js app
run: yarn build