Skip to content

Commit

Permalink
feat: add ci for alpha releases (#45)
Browse files Browse the repository at this point in the history
* feat: add ci

* chore: alpha releases
  • Loading branch information
sakulstra authored Aug 15, 2023
1 parent d91a33b commit e68515e
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 18 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/test-release-alpha.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Test & alpha release

concurrency:
group: ${{ github.head_ref || github.ref_name }}
cancel-in-progress: true

on:
pull_request:

jobs:
test:
uses: bgd-labs/github-workflows/.github/workflows/test-node.yml@main
release-node-alpha:
uses: bgd-labs/github-workflows/.github/workflows/release-node-alpha.yml@main
needs: test
secrets:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
name: Head branch workflow
name: Test & release

concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true

on:
pull_request:
push:
branches:
- main

jobs:
test-node:
uses: bgd-labs/github-workflows/.github/workflows/test-node.yml@main
release:
uses: bgd-labs/github-workflows/.github/workflows/release.yml@main
needs: test-node
release-node:
uses: bgd-labs/github-workflows/.github/workflows/release-node.yml@main
needs: test-node
secrets:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
36 changes: 20 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
"name": "@bgd-labs/aave-cli",
"version": "0.0.19",
"description": "A cli to perform various aave governance related tasks",
"main": "./dist/index.js",
"module": "./dist/index.js",
"private": false,
"bin": {
"aave-cli": "dist/cli.js"
},
"scripts": {
"build": "tsup",
"test": "vitest",
Expand All @@ -17,13 +12,12 @@
"type": "git",
"url": "git+https://github.com/bgd-labs/report-engine.git"
},
"author": "",
"license": "ISC",
"author": "BGD labs",
"license": "MIT",
"bugs": {
"url": "https://github.com/bgd-labs/report-engine/issues"
},
"homepage": "https://github.com/bgd-labs/report-engine#readme",
"type": "module",
"devDependencies": {
"@types/node-fetch": "^2.6.4",
"@types/object-hash": "^3.0.3",
Expand All @@ -32,15 +26,25 @@
"typescript": "^5.1.6",
"vitest": "^0.34.1"
},
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
"require": "./dist/index.cjs",
"node": "./dist/index.js",
"imports": "./dist/index.js",
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"default": "./dist/index.js"
".": {
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"types": "./dist/AaveAddressBook.d.cts",
"default": "./dist/index.cjs"
}
},
"bin": {
"aave-cli": "dist/cli.cjs"
},
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit e68515e

Please sign in to comment.