From b8beece95931ae82668531f9b4a273cec374dbe4 Mon Sep 17 00:00:00 2001 From: Zahra Jabini Date: Wed, 16 Dec 2020 09:45:22 -0500 Subject: [PATCH 01/10] Add GitHub Actions CI --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 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 000000000..ea77ddd96 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,16 @@ +name: Node.js CI +on: [push] +jobs: + build: + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v2 + - name: Use Node.js + uses: actions/setup-node@v1 + with: + node-version: '12.x' + - run: yarn install + - name: Run headless test + uses: GabrielBB/xvfb-action@v1 + with: + run: yarn test From 25506184f8b8e2ce98dcbc3bc45479d6d7990496 Mon Sep 17 00:00:00 2001 From: Zahra Jabini Date: Wed, 16 Dec 2020 10:21:38 -0500 Subject: [PATCH 02/10] Add Sauce --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea77ddd96..777d93b6c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,5 +12,8 @@ jobs: - run: yarn install - name: Run headless test uses: GabrielBB/xvfb-action@v1 + env: + SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }} + SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} with: - run: yarn test + run: yarn test:ci From 920ca7443481e0401b44cbd12239188594b5017a Mon Sep 17 00:00:00 2001 From: Zahra Jabini Date: Fri, 18 Dec 2020 09:10:41 -0500 Subject: [PATCH 03/10] Rename workflow --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 777d93b6c..d41f25094 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Node.js CI +name: CI on: [push] jobs: build: From cc9b4d8e766be4f83364e0e4a17923c1f2a5adc7 Mon Sep 17 00:00:00 2001 From: Zahra Jabini Date: Fri, 18 Dec 2020 09:19:05 -0500 Subject: [PATCH 04/10] Replace Travis badge with GitHub badge --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e071f1002..e9a389a3f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Mobiledoc Kit -[![Travis CI Build Status](https://travis-ci.org/bustle/mobiledoc-kit.svg?branch=master)](https://travis-ci.org/bustle/mobiledoc-kit) +[![CI Build Status](https://github.com/bustle/mobiledoc-kit/workflows/CI/badge.svg)](https://github.com/bustle/mobiledoc-kit/actions?query=workflow%3ACI) [![Sauce Test Status](https://saucelabs.com/browser-matrix/mobiledoc-kit.svg)](https://saucelabs.com/u/mobiledoc-kit) @@ -465,7 +465,7 @@ Or run headless tests via testem: * `yarn test` -Tests in CI are run at Travis via Saucelabs (see the `test:ci` yarn script). +Tests in CI are run at Github Actions via Saucelabs (see the `test:ci` yarn script). Run linter From 23d7802eaec3291e2f8bf571d7f0f35dfcfd83e1 Mon Sep 17 00:00:00 2001 From: Zahra Jabini Date: Fri, 18 Dec 2020 09:19:10 -0500 Subject: [PATCH 05/10] Replace Travis job ID with GitHub ID --- sauce_labs/saucie-connect.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sauce_labs/saucie-connect.js b/sauce_labs/saucie-connect.js index eef3ec03c..8c7acacca 100755 --- a/sauce_labs/saucie-connect.js +++ b/sauce_labs/saucie-connect.js @@ -14,8 +14,8 @@ var opts = { connectVersion: '4.6.2' }; -if (process.env.TRAVIS_JOB_NUMBER) { - opts.tunnelIdentifier = process.env.TRAVIS_JOB_NUMBER; +if (process.env.GITHUB_RUN_ID) { + opts.tunnelIdentifier = process.env.GITHUB_RUN_ID; } saucie.connect(opts).then(function () { From a5cfc8fb20ce617f6f1a57a47bd6c17b3fecc3c6 Mon Sep 17 00:00:00 2001 From: Zahra Jabini Date: Fri, 18 Dec 2020 09:23:54 -0500 Subject: [PATCH 06/10] Remove unstable david-dm.org links --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index e9a389a3f..26512a8d4 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,6 @@ [![Sauce Test Status](https://saucelabs.com/browser-matrix/mobiledoc-kit.svg)](https://saucelabs.com/u/mobiledoc-kit) -[![Dependency Status](https://david-dm.org/bustle/mobiledoc-kit/master.svg)](https://david-dm.org/bustle/mobiledoc-kit/master) -[![devDependency Status](https://david-dm.org/bustle/mobiledoc-kit/master/dev-status.svg)](https://david-dm.org/bustle/mobiledoc-kit/master#info=devDependencies) - ![Mobiledoc Logo](https://bustle.github.io/mobiledoc-kit/demo/mobiledoc-logo-color-small.png) Mobiledoc Kit is a framework-agnostic library for building WYSIWYG editors From 63af13ca0a537629d077d8d514abfb1617832d1e Mon Sep 17 00:00:00 2001 From: Zahra Jabini Date: Fri, 18 Dec 2020 09:24:06 -0500 Subject: [PATCH 07/10] Update Bustle copyright name --- LICENSE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE.md b/LICENSE.md index e308b7a97..ad50ed129 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ ### The MIT License (MIT) -Copyright (c) 2014, 2015 Garth Poitras and Bustle Labs +Copyright (c) 2014, 2015 Garth Poitras and Bustle Digital Group Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From 1ca50355bb6ebb6f76c25e541b43f57e1d2e5f00 Mon Sep 17 00:00:00 2001 From: Zahra Jabini Date: Fri, 18 Dec 2020 09:25:12 -0500 Subject: [PATCH 08/10] Remove tunnel identifier --- sauce_labs/saucie-connect.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sauce_labs/saucie-connect.js b/sauce_labs/saucie-connect.js index 8c7acacca..2bd8cac44 100755 --- a/sauce_labs/saucie-connect.js +++ b/sauce_labs/saucie-connect.js @@ -14,10 +14,6 @@ var opts = { connectVersion: '4.6.2' }; -if (process.env.GITHUB_RUN_ID) { - opts.tunnelIdentifier = process.env.GITHUB_RUN_ID; -} - saucie.connect(opts).then(function () { process.exit(); }); From e415b2b8465fd265caaa69803797989f94e588ba Mon Sep 17 00:00:00 2001 From: Zahra Jabini Date: Fri, 18 Dec 2020 09:27:40 -0500 Subject: [PATCH 09/10] =?UTF-8?q?Remove=20Travis=20=F0=9F=91=A9=E2=80=8D?= =?UTF-8?q?=F0=9F=8C=BE=F0=9F=91=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 3bec06316..000000000 --- a/.travis.yml +++ /dev/null @@ -1,23 +0,0 @@ ---- -language: node_js -node_js: - - "12" - -sudo: false -dist: trusty - -addons: - chrome: stable - firefox: "latest" - -env: - global: - - MOZ_HEADLESS=1 # necessary for Firefox headless, see https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-the-Firefox-addon-in-headless-mode - - SAUCE_USERNAME=mobiledoc-kit - - SAUCE_ACCESS_KEY=f9cad21d-1141-452d-8f64-c6ba3f43faa6 - -cache: - yarn: true - -script: - - yarn test:ci From 4d2f754c879ecfc017fbbfdb20c0270ffc90a128 Mon Sep 17 00:00:00 2001 From: Zahra Jabini Date: Fri, 18 Dec 2020 09:32:03 -0500 Subject: [PATCH 10/10] =?UTF-8?q?Remove=20archived=20vue=20integration=20?= =?UTF-8?q?=F0=9F=91=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 26512a8d4..a28315f2f 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,6 @@ This repository hosts the core Mobiledoc Kit library. If you want to use Mobiled | Plain JavaScript | [mobiledoc-kit](https://github.com/bustle/mobiledoc-kit) (this repo) | | Ember | [ember-mobiledoc-editor](https://github.com/bustle/ember-mobiledoc-editor) | | React | [react-mobiledoc-editor](https://github.com/upworthy/react-mobiledoc-editor) | -| Vue | [vue-mobiledoc-editor](https://github.com/alidcastano/vue-mobiledoc-editor) | If you only want to use the Mobiledoc-Kit runtime, for *rendering mobiledoc posts only* (not editing or creating them), you can use: