Skip to content

Commit

Permalink
devops: migrate CI workflow to GitHub Actions and tslint->eslint (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt committed Jul 17, 2022
1 parent 5ebc0c4 commit b17d402
Show file tree
Hide file tree
Showing 10 changed files with 912 additions and 24 deletions.
11 changes: 11 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint',
],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
],
};
23 changes: 23 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Node.js CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm run coveralls
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ npm-debug.log
coverage
src
test
tslint.json
tsconfig.json
.vscode
.nyc_output
Expand Down
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit b17d402

Please sign in to comment.