From 18f1a8839827182c1598eb2e46734ea741ee6fde Mon Sep 17 00:00:00 2001 From: Mark Lee Date: Wed, 28 Jul 2021 00:06:26 -0700 Subject: [PATCH 1/3] ci: remove Travis CI config --- .travis.yml | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index c59b457..0000000 --- a/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -language: node_js -cache: yarn -node_js: - - 8 - - 12 -os: osx -branches: - only: - - master - - /^v\d+\.\d+\.\d+/ From f707b36ce7ad15ccd9a2add6552c04fccd9b468f Mon Sep 17 00:00:00 2001 From: Mark Lee Date: Wed, 28 Jul 2021 00:10:57 -0700 Subject: [PATCH 2/3] ci: add GitHub Actions config --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..9144abd --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: CI + +on: + push: + branches: + - main + tags: + - v[0-9]+.[0-9]+.[0-9]+* + pull_request: + +jobs: + build: + runs-on: macOS-latest + strategy: + matrix: + node-version: [8.x, 12.x, 16.x] + + steps: + - uses: actions/checkout@v2.3.4 + - uses: actions/setup-node@v2.3.0 + with: + node-version: ${{ matrix.node-version }} + cache: yarn + - name: Install + run: yarn --frozen-lockfile + - name: Test + run: yarn test From 63f8888e8b17ba2f9416f7e6138d99c5507f9867 Mon Sep 17 00:00:00 2001 From: Mark Lee Date: Wed, 28 Jul 2021 00:17:26 -0700 Subject: [PATCH 3/3] docs: replace badge & update Packager URL --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d606e23..a57ec5e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# electron-installer-dmg [![travis][travis_img]][travis_url] [![npm][npm_img]][npm_url] +# electron-installer-dmg [![CI status][actions_img]][actions_url] [![npm][npm_img]][npm_url] > Create DMG installers for your electron apps using [appdmg][appdmg]. @@ -117,10 +117,10 @@ You can use this to set additional features like `background-color` and Apache 2.0 -[travis_img]: https://travis-ci.org/electron-userland/electron-installer-dmg.svg?branch=master -[travis_url]: https://travis-ci.org/electron-userland/electron-installer-dmg +[actions_img]: https://github.com/electron-userland/electron-installer-dmg/actions/workflows/ci.yml/badge.svg +[actions_url]: https://github.com/electron-userland/electron-installer-dmg/actions/workflows/ci.yml [npm_img]: https://img.shields.io/npm/v/electron-installer-dmg.svg [npm_url]: https://npm.im/electron-installer-dmg -[electron-packager]: https://github.com/electron-userland/electron-packager +[electron-packager]: https://github.com/electron/electron-packager [appdmg]: https://github.com/LinusU/node-appdmg [spec]: https://github.com/LinusU/node-appdmg#specification