@felloh-org/lambda-wrapper 1.11.213 → 1.11.215

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -44,11 +44,38 @@ resources:
44
44
  # Jobs
45
45
  # --------------------------------------------------------------------------------------------------
46
46
  jobs:
47
+ - name: 'lint-and-test'
48
+ plan:
49
+ - in_parallel:
50
+ - get: lambda-wrapper
51
+ trigger: true
52
+ - get: concourse-scripts
53
+ - in_parallel:
54
+ - task: 'lint'
55
+ file: concourse-scripts/scripts/npm_run/npm_run.yml
56
+ input_mapping:
57
+ repository: lambda-wrapper
58
+ params:
59
+ NPM_COMMAND: 'lint'
60
+ - task: 'test'
61
+ file: concourse-scripts/scripts/npm_run/npm_run.yml
62
+ input_mapping:
63
+ repository: lambda-wrapper
64
+ params:
65
+ NPM_COMMAND: 'test'
66
+ - task: 'audit'
67
+ file: concourse-scripts/scripts/npm_run/npm_run.yml
68
+ input_mapping:
69
+ repository: lambda-wrapper
70
+ params:
71
+ NPM_COMMAND: 'audit:check'
72
+
47
73
  - name: 'migrations.staging'
48
74
  serial: true
49
75
  plan:
50
76
  - in_parallel:
51
77
  - get: lambda-wrapper
78
+ passed: ['lint-and-test']
52
79
  trigger: true
53
80
  - get: concourse-scripts
54
81
  - task: 'schema.create'
package/.eslintrc.yml CHANGED
@@ -16,6 +16,7 @@ ignorePatterns:
16
16
  - tests
17
17
  - node_modules
18
18
  - vocerage
19
+ - "**/*.test.js"
19
20
 
20
21
  env:
21
22
  "es6": true
@@ -9,11 +9,11 @@ jobs:
9
9
  strategy:
10
10
  matrix:
11
11
  os: [ ubuntu-latest ]
12
- node-version: [ 18.x ]
12
+ node-version: [ 20.x ]
13
13
  if: github.ref == 'refs/heads/main'
14
14
  steps:
15
15
  - name: Checkout
16
- uses: actions/checkout@v2
16
+ uses: actions/checkout@v4
17
17
 
18
18
  - name: Restore cache
19
19
  uses: actions/cache@v4
@@ -22,7 +22,7 @@ jobs:
22
22
  key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
23
23
 
24
24
  - name: Use Node.js ${{ matrix.node-version }}
25
- uses: actions/setup-node@v2
25
+ uses: actions/setup-node@v4
26
26
  with:
27
27
  node-version: ${{ matrix.node-version }}
28
28