From b8a4b44d553876b973b5b2f2cd4fd1733d3527cb Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Wed, 29 Mar 2023 10:42:27 -0400 Subject: [PATCH] Add github action to test building would also do actual tests, but I haven't written any :) --- .github/workflows/test.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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 0000000..c530a5e --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,23 @@ +name: Test +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [18, 19, current] + steps: + - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v2 + with: + version: 8 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'pnpm' + - name: Install dependencies + run: pnpm install --recursive --include-workspace-root + - name: Build + run: pnpm run --recursive --include-workspace-root build