diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..d41f25094 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +name: 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 + env: + SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }} + SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} + with: + run: yarn test:ci 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 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 diff --git a/README.md b/README.md index e071f1002..a28315f2f 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,9 @@ # 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) -[![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 @@ -21,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: @@ -465,7 +461,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 diff --git a/sauce_labs/saucie-connect.js b/sauce_labs/saucie-connect.js index eef3ec03c..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.TRAVIS_JOB_NUMBER) { - opts.tunnelIdentifier = process.env.TRAVIS_JOB_NUMBER; -} - saucie.connect(opts).then(function () { process.exit(); });