From e9c92324e41ea3425d15d062055240e5ecb0c418 Mon Sep 17 00:00:00 2001 From: Tom Parker-Shemilt Date: Thu, 7 Sep 2023 14:15:27 +0100 Subject: [PATCH 1/2] Add Github actions (#287) * Add Github actions * Add on config for CI * Filter push to just master --- .github/workflows/ci.yml | 18 ++++++++++++++++++ .travis.yml | 8 -------- 2 files changed, 18 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..ed992e5 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 + - run: npm ci + - run: npm test \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 1252a3e..0000000 --- a/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: node_js -node_js: -- '8' -sudo: false -install: -- travis_retry npm install -script: -- npm test From bbba01e2f11899fbfac69c4d5d76791eb8f75be7 Mon Sep 17 00:00:00 2001 From: Doug Moscrop Date: Thu, 7 Sep 2023 09:22:31 -0400 Subject: [PATCH 2/2] Update README.md Remove Travis build badge --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index ed3fc2d..80056fd 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # serverless-http -[![Build Status](https://travis-ci.org/dougmoscrop/serverless-http.svg?branch=master)](https://travis-ci.org/dougmoscrop/serverless-http) - ## Description This module allows you to 'wrap' your API for serverless use. No HTTP server, no ports or sockets. Just your code in the same execution pipeline you are already familiar with.