From d23491604b84b6bd268bc3a04e0daef9e28bdfa8 Mon Sep 17 00:00:00 2001 From: mhassan1 Date: Fri, 20 Dec 2024 12:19:06 -0500 Subject: [PATCH] chore: move from travis to github actions --- .github/workflows/test.yml | 25 +++++++++++++++++++++++++ .travis.yml | 15 --------------- 2 files changed, 25 insertions(+), 15 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..81229d1 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,25 @@ +name: Test + +on: + workflow_dispatch: + pull_request: + push: + branches: + - main + +jobs: + test: + strategy: + matrix: + os: + - ubuntu-latest + - windows-latest + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: lts/* + cache: yarn + - run: yarn + - run: yarn test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index df2992a..0000000 --- a/.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -language: node_js -node_js: -# TODO add this back once `nvs` on windows is fixed -# - lts/* - - node -os: - - linux - - windows -dist: focal -arch: arm64 -env: - - YARN_GPG=no -cache: - directories: - - $HOME/.yarn/berry/cache