update github actions to use docker

This commit is contained in:
2025-03-26 15:53:46 -07:00
parent 4990e65c3e
commit 892ca7ec63

View File

@@ -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