From c2a9828e37539f8db06fe4e96042bc083936c17e Mon Sep 17 00:00:00 2001 From: Wes Dean Date: Wed, 17 Jul 2024 13:22:31 -0400 Subject: [PATCH] Add build test --- .github/workflows/test.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..300f0774 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,27 @@ +--- +name: Build and Test + +# yamllint disable-line rule:truthy +on: + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Use Node + uses: actions/setup-node@v3 + with: + node-version: '17.x' + + - name: Install NPM dependencies + run: npm install + + - name: Build site + run: npm run build + + # - name: Run tests + # run: npm run test