Skip to content

Commit 7bf506b

Browse files
authored
Merge pull request #218 from enter-at/refactor/interface-naming
Expose and handle UnauthorizedError
2 parents bc3bd7b + 9a70318 commit 7bf506b

38 files changed

+1466
-353
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"**/*.js"

.eslintrc.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module.exports = {
2+
extends: [
3+
"@enter-at/typescript-prettier"
4+
],
5+
rules: {
6+
"class-methods-use-this": "off",
7+
"import/prefer-default-export": "off"
8+
},
9+
}

.github/workflows/lint-and-test.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: Lint & Test
22

3-
on: [push]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
410

511
jobs:
612
lint:
@@ -18,11 +24,18 @@ jobs:
1824
runs-on: ubuntu-latest
1925
strategy:
2026
matrix:
21-
node: ["10.x", "12.x"]
27+
node:
28+
- 10.x
29+
- 12.x
2230
steps:
2331
- uses: actions/checkout@v2
2432
- uses: actions/setup-node@v1
2533
with:
2634
node-version: ${{ matrix.node }}
2735
- run: npm install
2836
- run: npm test
37+
38+
- uses: actions/upload-artifact@v2
39+
with:
40+
name: Test Reports
41+
path: ${{ github.workspace }}/test-reports/**/*

0 commit comments

Comments
 (0)