Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
jobs:
test:
runs-on: ubuntu-latest
container: pyramation/node-sqitch:20.12.0
continue-on-error: true
strategy:
fail-fast: false
Expand Down Expand Up @@ -37,10 +36,11 @@ jobs:
- geotypes

env:
PGHOST: pg_db
PGHOST: localhost
PGPORT: 5432
PGUSER: postgres
PGPASSWORD: password
PGPM_VERSION: 2.7.9

services:
pg_db:
Expand Down Expand Up @@ -93,8 +93,15 @@ jobs:
- name: Install
run: pnpm install

- name: Cache pgpm CLI
id: cache-pgpm
uses: actions/cache@v4
with:
path: ~/.npm
key: pgpm-${{ env.PGPM_VERSION }}

- name: Install pgpm CLI globally
run: npm install -g pgpm
run: npm install -g pgpm@${{ env.PGPM_VERSION }}

- name: Build
run: pnpm -r build
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ on:
jobs:
integration-test:
runs-on: ubuntu-latest
container: pyramation/node-sqitch:20.12.0

env:
PGHOST: pg_db
PGHOST: localhost
PGPORT: 5432
PGUSER: postgres
PGPASSWORD: password
PGPM_VERSION: 2.7.9

services:
pg_db:
Expand Down Expand Up @@ -68,8 +68,15 @@ jobs:
- name: Install
run: pnpm install

- name: Cache pgpm CLI
id: cache-pgpm
uses: actions/cache@v4
with:
path: ~/.npm
key: pgpm-${{ env.PGPM_VERSION }}

- name: Install pgpm CLI globally
run: npm install -g pgpm
run: npm install -g pgpm@${{ env.PGPM_VERSION }}

- name: Build
run: pnpm -r build
Expand Down