Skip to content

Commit

Permalink
chore: NextJSのBuildテスを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
testusuke committed Oct 29, 2024
1 parent 66e9206 commit 8c339e2
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/nextjs-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build Test

on:
push:
branches-ignore:
- main

jobs:
nextjs-ci:
runs-on: ubuntu-latest

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

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

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'

- name: Install dependencies
run: yarn install

- name: Build
run: yarn run build

0 comments on commit 8c339e2

Please sign in to comment.