Skip to content
This repository has been archived by the owner on Mar 27, 2021. It is now read-only.

Commit

Permalink
ci: setup github actions as ci pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
BerniWittmann committed Mar 20, 2021
1 parent 99f5e2b commit dbf6843
Show file tree
Hide file tree
Showing 6 changed files with 8,304 additions and 36 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/lint_test.yml
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
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
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
24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

Binary file removed git_deploy_key.enc
Binary file not shown.
18 changes: 6 additions & 12 deletions package.json
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",
Expand All @@ -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",
Expand All @@ -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"
}
Loading

0 comments on commit dbf6843

Please sign in to comment.