Skip to content

Commit

Permalink
Add GitHub Actions CI 🎷 (#753)
Browse files Browse the repository at this point in the history
* Add GitHub Actions CI

* Add Sauce

* Rename workflow

* Replace Travis badge with GitHub badge

* Replace Travis job ID with GitHub ID

* Remove unstable david-dm.org links

* Update Bustle copyright name

* Remove tunnel identifier

* Remove Travis 👩‍🌾👹

* Remove archived vue integration 👋
  • Loading branch information
ZeeJab authored Dec 18, 2020
1 parent 79a37b6 commit 9ee86ce
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 34 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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:

Expand Down Expand Up @@ -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

Expand Down
4 changes: 0 additions & 4 deletions sauce_labs/saucie-connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});

0 comments on commit 9ee86ce

Please sign in to comment.