From 8c339e25acff0f078136ecf66bf5702f7b17a749 Mon Sep 17 00:00:00 2001 From: testusuke Date: Tue, 29 Oct 2024 11:26:37 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20NextJS=E3=81=AEBuild=E3=83=86=E3=82=B9?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/nextjs-build.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/nextjs-build.yml diff --git a/.github/workflows/nextjs-build.yml b/.github/workflows/nextjs-build.yml new file mode 100644 index 0000000..77bdf81 --- /dev/null +++ b/.github/workflows/nextjs-build.yml @@ -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 \ No newline at end of file