From e251cd748179999600602e3f0d96be842a61d133 Mon Sep 17 00:00:00 2001 From: Nicholas Pease <34464552+LAX18@users.noreply.github.com> Date: Fri, 16 Feb 2024 23:35:43 -0500 Subject: [PATCH] Add nextjs frontend tests --- .github/workflows/frontend-tests.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/frontend-tests.yml diff --git a/.github/workflows/frontend-tests.yml b/.github/workflows/frontend-tests.yml new file mode 100644 index 0000000..dfbcecc --- /dev/null +++ b/.github/workflows/frontend-tests.yml @@ -0,0 +1,26 @@ +name: Next.Js Build Validation + +on: + pull_request: + push: + branches: + - "main" + +jobs: + nextjs: + runs-on: ubuntu-latest + + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + + - name: Setup Node + uses: actions/setup-node@v2 + with: + node-version: 21.6.2 + + - name: Install dependencies + run: npm install frontend-next/ + + - name: Buide + run: npm --prefix frontend-next/ run build -- 2.52.0