From 06490559280d271fe3b1b5d7913488f4f9433cac Mon Sep 17 00:00:00 2001 From: Alex Kubacki Date: Mon, 8 Jul 2024 14:39:32 -0600 Subject: [PATCH] Travis -> GHA --- .github/workflows/test.yml | 32 ++++++++++++++++++++++++++++++++ .travis.yml | 16 ---------------- 2 files changed, 32 insertions(+), 16 deletions(-) create mode 100644 .github/workflows/test.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..39f6ed0 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,32 @@ +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + test: + name: Test + runs-on: ubuntu-20.04 + steps: + - name: Check out code + uses: actions/checkout@v4 + + - name: Install node + uses: actions/setup-node@v4 + with: + node-version: "0.10" + + - name: Setup + run: | + npm install -g bower + npm install + bower install + + - name: Test + run: | + echo "These tests do not work at present due to outdated code" \ + "maybe try to fix them if you need to make changes in this repo?" + npm test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index df6253d..0000000 --- a/.travis.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -language: node_js - -sudo: false - -cache: - directories: - - node_modules - -install: - - npm install -g bower - - npm install - - bower install - -script: - - npm test