aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build-test.yml
blob: 03b840e502194d49792a61813e60c921870267ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Build Test

on:
  pull_request:
    branches:
      - main

jobs:
  build-test-job:
    runs-on: ubuntu-latest

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

      - name: Set up Node.js
        uses: actions/setup-node@v2
        with:
          node-version: 18

      - name: Install dependencies
        run: npm install

      - name: Build the Next.js app
        run: npm run build