Skip to content

Commit 99ef736

Browse files
committed
cleanup for github actions pipeline changes
1 parent e35ff03 commit 99ef736

18 files changed

Lines changed: 82 additions & 97 deletions

File tree

.circleci/config.yml

Lines changed: 0 additions & 81 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ jobs:
4242

4343
steps:
4444
- name: Checkout code
45-
uses: actions/checkout@v3
45+
uses: actions/checkout@v4
4646

4747
- name: Setup Node.js
48-
uses: actions/setup-node@v3
48+
uses: actions/setup-node@v4
4949
with:
5050
node-version: '12'
5151

5252
- name: Cache dependencies
53-
uses: actions/cache@v3
53+
uses: actions/cache@v4
5454
with:
5555
path: ~/.cache/yarn
5656
key: v1-${{ hashFiles('**/yarn.lock') }}
@@ -78,15 +78,15 @@ jobs:
7878
runs-on: ubuntu-latest
7979
steps:
8080
- name: Checkout code
81-
uses: actions/checkout@v3
81+
uses: actions/checkout@v4
8282

8383
- name: Setup Node.js
84-
uses: actions/setup-node@v3
84+
uses: actions/setup-node@v4
8585
with:
8686
node-version: '12'
8787

8888
- name: Cache dependencies
89-
uses: actions/cache@v3
89+
uses: actions/cache@v4
9090
with:
9191
path: ~/.cache/yarn
9292
key: v1-${{ hashFiles('**/yarn.lock') }}
@@ -104,7 +104,7 @@ jobs:
104104

105105
- name: List changed packages
106106
run: |
107-
echo "### Following packages will be published" >> $GITHUB_STEP_SUMMARY
107+
echo "### Following pending deployments found" >> $GITHUB_STEP_SUMMARY
108108
yarn lerna exec --loglevel silent --concurrency 1 -- \
109109
'VERSION=$(node -p "require(\"./package.json\").version"); \
110110
if [ "$(npm view $LERNA_PACKAGE_NAME version --registry=https://npm.pkg.github.com/ 2>/dev/null || echo "0.0.0")" != "$VERSION" ]; then \
@@ -119,18 +119,18 @@ jobs:
119119
name: github-npm-registry
120120
steps:
121121
- name: Checkout code
122-
uses: actions/checkout@v3
122+
uses: actions/checkout@v4
123123

124124
- name: Setup Node.js
125-
uses: actions/setup-node@v3
125+
uses: actions/setup-node@v4
126126
with:
127127
node-version: '12'
128128

129129
- name: Setup npmrc
130130
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc
131131

132132
- name: Cache dependencies
133-
uses: actions/cache@v3
133+
uses: actions/cache@v4
134134
with:
135135
path: ~/.cache/yarn
136136
key: v1-${{ hashFiles('**/yarn.lock') }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# BIT Kafka Tools
22

3-
[![CircleCI](https://circleci.com/gh/ovotech/bit-node-tools.svg?style=svg&circle-token=ae40b0f9ff7943343688a0319478e70091e37fbe)](https://circleci.com/gh/ovotech/bit-node-tools)
3+
[![Build Status](https://github.com/ovotech/bit-node-tools/actions/workflows/main.yml/badge.svg)](https://github.com/ovotech/bit-node-tools/actions/workflows/main.yml)
44

55
BIT Team tools for working with Kafka, Avro and other misc stuff. They are split into several independent packages that can be imported separately.
66

@@ -84,7 +84,7 @@ yarn lint
8484
## Deployment
8585

8686
1. MANUALLY bump the package version along with your changes
87-
2. On merge to master lerna will pick up on the changes and output what will be published in the GitHub actions job `prepare-publish`
87+
2. On merge to master lerna will pick up on the changes and output what will be published in the GitHub actions pipeline under `prepare-publish summary`
8888
3. MANUALLY approve deployment for the GitHub actions job `publish`
8989

9090
## Built With

package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,4 @@
1515
"devDependencies": {
1616
"lerna": "^3.14.1"
1717
},
18-
"repository": {
19-
"url": "https://github.com/ovotech/bit-node-tools",
20-
"type": "git"
21-
}
2218
}

packages/apollo-datasource-axios/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
"types": "dist/index.d.ts",
88
"author": "Ivan Kerin <ikerin@gmail.com>",
99
"license": "Apache-2.0",
10+
"repository": {
11+
"type": "git",
12+
"url": "git+https://github.com/ovotech/bit-node-tools.git",
13+
"directory": "packages/keycloak-auth"
14+
},
1015
"peerDependencies": {
1116
"axios": "*"
1217
},

packages/avro-logical-types/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
"types": "dist/index.d.ts",
88
"author": "Ivan Kerin <ikerin@gmail.com>",
99
"license": "Apache-2.0",
10+
"repository": {
11+
"type": "git",
12+
"url": "git+https://github.com/ovotech/bit-node-tools.git",
13+
"directory": "packages/keycloak-auth"
14+
},
1015
"peerDependencies": {
1116
"avsc": "*"
1217
},

packages/avro-stream/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
"types": "dist/index.d.ts",
88
"author": "Ivan Kerin <ikerin@gmail.com>",
99
"license": "Apache-2.0",
10+
"repository": {
11+
"type": "git",
12+
"url": "git+https://github.com/ovotech/bit-node-tools.git",
13+
"directory": "packages/keycloak-auth"
14+
},
1015
"dependencies": {
1116
"@ovotech/schema-registry-api": "^1.0.3",
1217
"avsc": "^5.4.10"

packages/axios-logger/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
"types": "dist/index.d.ts",
88
"author": "Ivan Kerin <ikerin@gmail.com>",
99
"license": "Apache-2.0",
10+
"repository": {
11+
"type": "git",
12+
"url": "git+https://github.com/ovotech/bit-node-tools.git",
13+
"directory": "packages/keycloak-auth"
14+
},
1015
"peerDependencies": {
1116
"axios": "*"
1217
},

packages/bigquery-pg-sink/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
"types": "dist/index.d.ts",
88
"author": "Sam Clift <samjacobclift@gmail.com>",
99
"license": "Apache-2.0",
10+
"repository": {
11+
"type": "git",
12+
"url": "git+https://github.com/ovotech/bit-node-tools.git",
13+
"directory": "packages/keycloak-auth"
14+
},
1015
"scripts": {
1116
"lint-prettier": "prettier --list-different {src,test}/**/*.ts",
1217
"lint-tslint": "tslint --config tslint.json '{src,test}/**/*.ts'",

packages/config-file/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
"types": "dist/index.d.ts",
88
"author": "Ivan Kerin <ikerin@gmail.com>",
99
"license": "Apache-2.0",
10+
"repository": {
11+
"type": "git",
12+
"url": "git+https://github.com/ovotech/bit-node-tools.git",
13+
"directory": "packages/keycloak-auth"
14+
},
1015
"scripts": {
1116
"test": "jest --runInBand",
1217
"lint-prettier": "prettier --list-different {src,test}/**/*.ts",

0 commit comments

Comments
 (0)