Skip to content

Commit 560f05c

Browse files
author
Sean Dawson
authored
Merge pull request #434 from agiledigital/fix-custom-role-arn
fix: support custom role ARNs
2 parents ba735c9 + 25e9b76 commit 560f05c

File tree

12 files changed

+954
-76
lines changed

12 files changed

+954
-76
lines changed

.github/dependabot.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
version: 2
22
updates:
3-
- package-ecosystem: npm
4-
directory: "/"
5-
schedule:
6-
interval: daily
7-
time: "19:00"
8-
open-pull-requests-limit: 10
9-
labels:
10-
- "dependencies"
11-
- "automerge" # Used by Kodiak to work out what to automerge
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
time: "19:00"
8+
open-pull-requests-limit: 10
9+
labels:
10+
- "dependencies"
11+
- "automerge" # Used by Kodiak to work out what to automerge

.github/workflows/nodejs.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
strategy:
1919
matrix:
20-
node-version: [10.x, 12.x, 14.x]
20+
node-version: [12.x, 14.x, 16.x]
2121

2222
steps:
2323
- uses: actions/checkout@v2
@@ -34,11 +34,13 @@ jobs:
3434
- name: Install dependencies
3535
run: yarn install --frozen-lockfile
3636
- name: Build
37-
run: yarn run build
37+
run: yarn build
3838
- name: Type Coverage
39-
run: yarn run type-coverage
39+
run: yarn type-coverage
4040
- name: Test
41-
run: yarn run test
41+
run: yarn test --coverage
42+
- name: Check formatting
43+
run: yarn format-check
4244
- name: Package example service to ensure compatibility
4345
run: cd example-service && yarn install --frozen-lockfile && yarn sls package
4446
- name: Run Semantic Release
@@ -55,4 +57,4 @@ jobs:
5557
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5658
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5759
run: yarn semantic-release
58-
if: matrix.node-version == '12.x'
60+
if: matrix.node-version == '14.x'

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ yarn-error.log
2020

2121
# workflow specific files
2222
.envrc
23+
24+
# Jest output
25+
coverage

.prettierignore

Lines changed: 0 additions & 8 deletions
This file was deleted.

commitlint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = { extends: ["@commitlint/config-conventional"] };

jest.config.js

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
module.exports = {
2-
preset: 'ts-jest',
3-
testEnvironment: 'node',
4-
};
2+
preset: "ts-jest",
3+
testEnvironment: "node",
4+
coverageThreshold: {
5+
global: {
6+
branches: 87,
7+
functions: 66,
8+
lines: 78,
9+
statements: 76
10+
}
11+
}
12+
};

0 commit comments

Comments
 (0)