Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
cressie176 committed Jan 6, 2024
1 parent 69eda39 commit 5662028
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node-js-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
POSTGRES_HOST_AUTH_METHOD: trust
strategy:
matrix:
node-version: [18.x, 20x]
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/node-js-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,22 @@ jobs:
build:
runs-on: ubuntu-latest
services:
image: postgres:16-alpine
ports:
- 5432:5432
env:
POSTGRES_HOST_AUTH_METHOD: trust
postgres:
image: postgres:16-alpine
ports:
- 5432:5432
env:
POSTGRES_HOST_AUTH_METHOD: trust
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20.x'
- run: npm ci
# - run: npm run lint
- run: npm test


publish-npm:
needs: build
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5662028

Please sign in to comment.