Skip to content

Commit

Permalink
Create nextjs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dheidemann authored Jul 7, 2024
1 parent 51ec993 commit db9c5b3
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build and Test Next.js

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [22.x]

defaults:
run:
working-directory: ./frontend

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm install

- name: Build project
run: npm run build

# - name: Run tests
# run: npm test

0 comments on commit db9c5b3

Please sign in to comment.