Skip to content

Commit dbe9c07

Browse files
committed
feat: Circle configuration
1 parent 80f8a2d commit dbe9c07

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

.circleci/config.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
version: 2.1
2-
31
orbs:
4-
node: circleci/[email protected]
2+
node: circleci/[email protected]
3+
4+
version: 2.1
55

66
parameters:
77
node_version:
88
type: string
9-
default: '16.15.0'
9+
default: '16.17.0'
1010

1111
commands:
1212
install_deps:
@@ -17,17 +17,16 @@ commands:
1717
cache-only-lockfile: true
1818
app-dir: ~/repo
1919
override-ci-command: yarn install --pure-lockfile --no-progress
20-
- run: sudo apt-get -q update && sudo apt-get -y install openjdk-17-jdk
20+
- run: sudo apt update -q && sudo apt install postgresql-12
2121

2222
jobs:
2323
build:
2424
executor:
2525
name: node/default
26-
tag: << pipeline.parameters.node_version >>
27-
working_directory: ~/repo
26+
tag: <<pipeline.parameters.node_version>>-browsers
2827
steps:
2928
- checkout
3029
- install_deps
31-
- run: yarn test
30+
- run: sudo yarn test
3231
- run: yarn type-check
3332
- run: yarn lint:ci

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# postgres-local [![CircleCI](https://circleci.com/gh/shelfio/postgres-local/tree/master.svg?style=svg)](https://circleci.com/gh/shelfio/postgres-local/tree/master) ![](https://img.shields.io/badge/code_style-prettier-ff69b4.svg) [![npm (scoped)](https://img.shields.io/npm/v/@shelf/postgres-local.svg)](https://www.npmjs.com/package/@shelf/postgres-local)
1+
# postgres-local [![CircleCI](https://dl.circleci.com/status-badge/img/gh/shelfio/postgres-local/tree/master.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/shelfio/postgres-local/tree/master) ![](https://img.shields.io/badge/code_style-prettier-ff69b4.svg) [![npm (scoped)](https://img.shields.io/npm/v/@shelf/postgres-local.svg)](https://www.npmjs.com/package/@shelf/postgres-local)
22

33
> Run any version of Postgres locally
44

jest-postgres-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ module.exports = {
44
seedPath: `${cwd()}/test/seed.sql`,
55
version: 14,
66
port: 5555,
7-
includeInstallation: true,
7+
includeInstallation: false,
88
};

0 commit comments

Comments
 (0)