From 10680d83d058779bbc4ee4b5670ee52b0f4ad78b Mon Sep 17 00:00:00 2001 From: Richie Bendall Date: Sat, 2 Jan 2021 03:14:30 +1300 Subject: [PATCH] Move to GitHub Actions (#20) --- .github/workflows/main.yml | 21 +++++++++++++++++++++ .travis.yml | 4 ---- readme.md | 2 +- 3 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/main.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..f45f512 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,21 @@ +name: CI +on: + - push + - pull_request +jobs: + test: + name: Node.js ${{ matrix.node-version }} + runs-on: macos-latest + strategy: + fail-fast: false + matrix: + node-version: + - 14 + - 12 + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + - run: npm test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d7a1ee0..0000000 --- a/.travis.yml +++ /dev/null @@ -1,4 +0,0 @@ -os: osx -language: node_js -node_js: - - '12' diff --git a/readme.md b/readme.md index 0c5a4e9..52bed38 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,4 @@ -# electron-unhandled [![Build Status](https://travis-ci.org/sindresorhus/electron-unhandled.svg?branch=master)](https://travis-ci.org/sindresorhus/electron-unhandled) +# electron-unhandled > Catch unhandled errors and promise rejections in your [Electron](https://electronjs.org) app