This repository has been archived by the owner on Mar 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: setup github actions as ci pipeline
- Loading branch information
1 parent
99f5e2b
commit dbf6843
Showing
6 changed files
with
8,304 additions
and
36 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,25 @@ | ||
name: Lint & Test | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
lint_test: | ||
name: Lint & Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12 | ||
- name: Install dependencies | ||
run: yarn install | ||
- name: Run Linter | ||
run: yarn lint | ||
- name: Run Tests | ||
run: yarn test |
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,23 @@ | ||
name: Release | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12 | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
run: npx semantic-release |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
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,18 +1,17 @@ | ||
{ | ||
"name": "ts-module-boilerplate", | ||
"description": "Typescript npm module boilerplate", | ||
"name": "iris-js-helper", | ||
"description": "JS Library to interact with IRIS Gateway", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"start": "yarn build && node dist/index", | ||
"build": "tsc", | ||
"lint": "eslint src/**/*.ts", | ||
"format": "eslint src/**/*.ts --fix", | ||
"test": "jest", | ||
"codecov": "codecov", | ||
"semantic-release": "semantic-release" | ||
}, | ||
"author": "Silver Xu", | ||
"license": "AGPL-3.0-only", | ||
"author": "Bernhard Wittmann <[email protected]>", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@commitlint/cli": "^8.3.4", | ||
"@commitlint/config-conventional": "^8.3.4", | ||
|
@@ -21,13 +20,8 @@ | |
"@semantic-release/npm": "^7.0.0", | ||
"@semantic-release/release-notes-generator": "^9.0.0", | ||
"@types/jest": "^25.1.0", | ||
"@semantic-release/commit-analyzer": "^7.0.0", | ||
"@semantic-release/git": "^8.0.0", | ||
"@semantic-release/npm": "^6.0.0", | ||
"@semantic-release/release-notes-generator": "^7.3.5", | ||
"@typescript-eslint/eslint-plugin": "^2.15.0", | ||
"@typescript-eslint/parser": "^2.15.0", | ||
"codecov": "^3.6.1", | ||
"eslint": "^6.8.0", | ||
"husky": "^4.0.6", | ||
"jest": "^24.9.0", | ||
|
@@ -43,7 +37,7 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/silver-xu/ts-module-boilerplate.git" | ||
"url": "https://github.com/BerniWittmann/iris-js-helper.git" | ||
}, | ||
"version": "1.1.3" | ||
"version": "0.1.0" | ||
} |
Oops, something went wrong.