-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: implement CI + semantic release
- Loading branch information
Showing
3 changed files
with
3,597 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: CI | ||
on: | ||
push: | ||
branches: [main] | ||
jobs: | ||
test: | ||
runs-on: ubuntu-lastest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: "12" | ||
- run: yarn install --frozen-lockfile | ||
- run: yarn test | ||
- name: Release | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: npx semantic-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,22 @@ | ||
{ | ||
"name": "@kiroboio/flow-plugins", | ||
"version": "1.0.0", | ||
"version": "0.0.0-development", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"repository": "[email protected]:kiroboio/ki-flow-plugins.git", | ||
"author": "Brendons Karelis <[email protected]>", | ||
"license": "MIT", | ||
"scripts": { | ||
"commit": "git cz", | ||
"build": "tsc -p tsconfig.build.json", | ||
"script": "ts-node --project tsconfig.json", | ||
"test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register \"src/**/*.test.ts\"" | ||
"test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register \"src/**/*.test.ts\"", | ||
"semantic-release": "semantic-release" | ||
}, | ||
"release": { | ||
"branches": [ | ||
"main" | ||
] | ||
}, | ||
"devDependencies": { | ||
"@types/chai": "^4.3.8", | ||
|
@@ -19,13 +26,15 @@ | |
"@typescript-eslint/eslint-plugin": "^6.4.0", | ||
"@typescript-eslint/parser": "^5.42.1", | ||
"chai": "^4.3.10", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"eslint": "^8.27.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-simple-import-sort": "^8.0.0", | ||
"eslint-plugin-unused-imports": "^2.0.0", | ||
"mocha": "^10.2.0", | ||
"prettier": "^2.7.1", | ||
"semantic-release": "^22.0.6", | ||
"ts-node": "^10.9.1", | ||
"typescript": "*" | ||
}, | ||
|
@@ -36,5 +45,10 @@ | |
"ethers": "^5.7.2", | ||
"lodash": "^4.17.21", | ||
"node-cache": "^5.1.2" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "./node_modules/cz-conventional-changelog" | ||
} | ||
} | ||
} |
Oops, something went wrong.