File tree Expand file tree Collapse file tree 4 files changed +40
-24
lines changed Expand file tree Collapse file tree 4 files changed +40
-24
lines changed Original file line number Diff line number Diff line change
1
+ name : Tests / Code Coverage
2
+ on : [push]
3
+ jobs :
4
+ build :
5
+ runs-on : ubuntu-latest
6
+ environment : ci
7
+ strategy :
8
+ matrix :
9
+ node-version : ['18.x', '20.x', '21.x']
10
+ python-version : ['3.9', '3.10', '3.11']
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+
14
+ # Python environment
15
+ - name : Setup Python
16
+ uses : actions/setup-python@v4
17
+ with :
18
+ python-version : ${{ matrix.python-version }}
19
+ - name : Install Coveralls binary
20
+ run : curl -L https://coveralls.io/coveralls-linux.tar.gz | tar -xz -C .
21
+ - name : Install pip dependencies
22
+ run : pip install semgrep
23
+
24
+ # Node.js environment
25
+ - name : Setup Node.js ${{ matrix.node-version }}
26
+ uses : actions/setup-node@v3
27
+ with :
28
+ node-version : ${{ matrix.node-version }}
29
+ - name : Install NPM dependencies
30
+ run : npm ci
31
+ - name : Run ESLint
32
+ run : npm run lint
33
+ - name : Run Mocha
34
+ run : npm run test
35
+ - name : Run Coveralls
36
+ env :
37
+ COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
38
+ run : npm run coverage
Original file line number Diff line number Diff line change 1
1
.eslintrc
2
+ .github
2
3
.jsdocrc
3
4
.nyc_output
4
- .travis.yml
5
5
.vscode
6
6
ISSUE_TEMPLATE.md
7
7
package. *
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# L³ router
2
2
3
- [ ![ npm version] ( https://badge.fury.io/js/@lambda-lambda-lambda%2Frouter.svg )] ( https://badge.fury.io/js/@lambda-lambda-lambda%2Frouter ) [ ![ ] ( https://img.shields.io/npm/dm/@lambda-lambda-lambda/router.svg )] ( https://www.npmjs.com/package/@lambda-lambda-lambda/router ) [ ![ Build Status] ( https://api.travis-ci.com/ lambda-lambda-lambda/router.svg?branch=master )] ( https://app.travis-ci.com/github/lambda-lambda-lambda/router ) [ ![ Coverage] ( https://coveralls.io/repos/lambda-lambda-lambda/router/badge.svg?branch=master )] ( https://coveralls.io/r/lambda-lambda-lambda/router?branch=master ) [ ![ Install size] ( https://packagephobia.com/badge?p=@lambda-lambda-lambda/router )] ( https://packagephobia.com/result?p=@lambda-lambda-lambda/router )
3
+ [ ![ npm version] ( https://badge.fury.io/js/@lambda-lambda-lambda%2Frouter.svg )] ( https://badge.fury.io/js/@lambda-lambda-lambda%2Frouter ) [ ![ ] ( https://img.shields.io/npm/dm/@lambda-lambda-lambda/router.svg )] ( https://www.npmjs.com/package/@lambda-lambda-lambda/router ) [ ![ Build Status] ( https://img.shields.io/github/actions/workflow/status/ lambda-lambda-lambda/router/.github%2Fworkflows%2Fci.yml )] ( https://app.travis-ci.com/github/lambda-lambda-lambda/router ) [ ![ Coverage] ( https://coveralls.io/repos/lambda-lambda-lambda/router/badge.svg?branch=master )] ( https://coveralls.io/r/lambda-lambda-lambda/router?branch=master ) [ ![ Install size] ( https://packagephobia.com/badge?p=@lambda-lambda-lambda/router )] ( https://packagephobia.com/result?p=@lambda-lambda-lambda/router )
4
4
5
5
AWS [ CloudFront Lambda@Edge] ( https://docs.aws.amazon.com/lambda/latest/dg/lambda-edge.html ) serverless application router.
6
6
You can’t perform that action at this time.
0 commit comments