Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
setup: GitHub actions for tests and remove Travis CI
liyasthomas27e061c35517
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlnew file mode 100644index 000000000..3651f616d--- /dev/null+++ b/.github/workflows/tests.yml@@ -0,0 +1,26 @@+name: Node.js CI++on:+ push:+ branches: [ main ]+ pull_request:+ branches: [ main ]++jobs:+ build:++ runs-on: ubuntu-latest++ strategy:+ matrix:+ node-version: [14.x]++ steps:+ - uses: actions/checkout@v2+ - name: Use Node.js ${{ matrix.node-version }}+ uses: actions/setup-node@v1+ with:+ node-version: ${{ matrix.node-version }}+ - run: npm ci+ - run: npm run build --if-present+ - run: npm testdiff --git a/.travis.yml b/.travis.ymldeleted file mode 100644index 7289cfde0..000000000--- a/.travis.yml+++ /dev/null@@ -1,34 +0,0 @@-# == INSTRUCTIONS FOR SETTING UP TRAVIS ==-#-# 1. Find this repository in your Travis-CI dashboard.-# open settings and add an environment variable called-# GITHUB_ACCESS_TOKEN and set it to your personal access token.addons:-# See: https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line-#-# **DO NOT TURN ON 'Display value in build log'!!!!**-#-# 2. Push the code to the repository.--language: node_js-node_js:- - lts/*--os: linux--cache: npm--branches:- only:- - main--install:- - npm ci--before_script:- - npm run build # use nuxt build and start to run tests--script:- - npm test--notifications:- webhooks: https://www.travisbuddy.comdiff --git a/README.md b/README.mdindex 3c2a8c435..492070454 100644--- a/README.md+++ b/README.md@@ -10,7 +10,7 @@</p><p>-[](CODE_OF_CONDUCT.md) [](https://hoppscotch.io) [](https://travis-ci.com/hoppscotch/hoppscotch) [](https://twitter.com/share?text=%F0%9F%91%BD%20Hoppscotch%20%E2%80%A2%20Open%20source%20API%20development%20ecosystem%20-%20Helps%20you%20create%20requests%20faster,%20saving%20precious%20time%20on%20development.&url=https://hoppscotch.io&hashtags=hoppscotch&via=hoppscotch_io)+[](CODE_OF_CONDUCT.md) [](https://hoppscotch.io)  [](https://twitter.com/share?text=%F0%9F%91%BD%20Hoppscotch%20%E2%80%A2%20Open%20source%20API%20development%20ecosystem%20-%20Helps%20you%20create%20requests%20faster,%20saving%20precious%20time%20on%20development.&url=https://hoppscotch.io&hashtags=hoppscotch&via=hoppscotch_io)</p><p>@@ -522,7 +522,7 @@ Please read [`CONTRIBUTING`](CONTRIBUTING.md) for details on our [`CODE OF CONDU## **Continuous Integration**-We use [Travis CI](https://travis-ci.com) for continuous integration. Check out our [Travis CI Status](https://travis-ci.com/hoppscotch/hoppscotch).+We use [GitHub Actions](https://github.com/features/actions) for continuous integration. Check out our [Build Workflows](https://github.com/hoppscotch/hoppscotch/actions).## **Changelog**