Skip to content

Commit

Permalink
create GH Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcasalboni committed Feb 15, 2023
1 parent 62ea142 commit 0d4f9e9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: aws-lambda-power-tuning-tests
run-name: ${{ github.actor }} is running integration tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 13.x, 14.x, 15.x, 16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
- run: npm run coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage

0 comments on commit 0d4f9e9

Please sign in to comment.