Skip to content

Commit

Permalink
chore: add postgres version to matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
mike committed Jul 12, 2024
1 parent 7670f74 commit bf0945a
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,19 @@ jobs:
strategy:
fail-fast: true
matrix:
version:
- 20
name: test and build package (node ${{ matrix.version }})
node:
version:
- 20
postgres:
version:
- 13
name: test and build package (node ${{ matrix.node.version }})
runs-on: ubuntu-latest
container: node:${{ matrix.version }}-alpine
container: node:${{ matrix.node.version }}-alpine

services:
postgres: # Label used to access the service container
image: postgres:13-alpine
image: postgres:${{ matrix.postgres.version }}-alpine
env:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
Expand Down

0 comments on commit bf0945a

Please sign in to comment.