From 892ca7ec63747f2e71544b78f693596809093977 Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Wed, 26 Mar 2025 15:53:46 -0700 Subject: [PATCH] update github actions to use docker --- .github/workflows/test.yml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 968afa2..8060f4d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,21 +7,11 @@ on: branches: [ "main" ] jobs: - build: - + test: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [20.x] - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ - steps: - uses: actions/checkout@v4 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - - run: npm run build:dev - - run: npm run test + + - name: Build and test with Docker Compose + run: docker-compose run test