From fe8dc688bb09966316c7b5f23190e76e9f76f70e Mon Sep 17 00:00:00 2001 From: Jason Rundell Date: Mon, 7 Oct 2024 11:50:20 -0400 Subject: [PATCH] Add Next.js demo workflow --- .github/workflows/next-demo.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/next-demo.yml diff --git a/.github/workflows/next-demo.yml b/.github/workflows/next-demo.yml new file mode 100644 index 0000000..3f8cc53 --- /dev/null +++ b/.github/workflows/next-demo.yml @@ -0,0 +1,27 @@ +name: Build Next Demo + +on: + pull_request: + branches: + - main + +jobs: + build-next-demo: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + + - name: Install dependencies + run: npm ci + working-directory: next-demo + + - name: Run build + run: npm run build + working-directory: next-demo