Skip to content

Commit 9ee86ce

Browse files
authored
Add GitHub Actions CI 🎷 (#753)
* 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 👋
1 parent 79a37b6 commit 9ee86ce

File tree

5 files changed

+22
-34
lines changed

5 files changed

+22
-34
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: CI
2+
on: [push]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-18.04
6+
steps:
7+
- uses: actions/checkout@v2
8+
- name: Use Node.js
9+
uses: actions/setup-node@v1
10+
with:
11+
node-version: '12.x'
12+
- run: yarn install
13+
- name: Run headless test
14+
uses: GabrielBB/xvfb-action@v1
15+
env:
16+
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
17+
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
18+
with:
19+
run: yarn test:ci

.travis.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### The MIT License (MIT)
22

3-
Copyright (c) 2014, 2015 Garth Poitras and Bustle Labs
3+
Copyright (c) 2014, 2015 Garth Poitras and Bustle Digital Group
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
# Mobiledoc Kit
22

3-
[![Travis CI Build Status](https://travis-ci.org/bustle/mobiledoc-kit.svg?branch=master)](https://travis-ci.org/bustle/mobiledoc-kit)
3+
[![CI Build Status](https://github.com/bustle/mobiledoc-kit/workflows/CI/badge.svg)](https://github.com/bustle/mobiledoc-kit/actions?query=workflow%3ACI)
44

55
[![Sauce Test Status](https://saucelabs.com/browser-matrix/mobiledoc-kit.svg)](https://saucelabs.com/u/mobiledoc-kit)
66

7-
[![Dependency Status](https://david-dm.org/bustle/mobiledoc-kit/master.svg)](https://david-dm.org/bustle/mobiledoc-kit/master)
8-
[![devDependency Status](https://david-dm.org/bustle/mobiledoc-kit/master/dev-status.svg)](https://david-dm.org/bustle/mobiledoc-kit/master#info=devDependencies)
9-
107
![Mobiledoc Logo](https://bustle.github.io/mobiledoc-kit/demo/mobiledoc-logo-color-small.png)
118

129
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
2118
| Plain JavaScript | [mobiledoc-kit](https://github.com/bustle/mobiledoc-kit) (this repo) |
2219
| Ember | [ember-mobiledoc-editor](https://github.com/bustle/ember-mobiledoc-editor) |
2320
| React | [react-mobiledoc-editor](https://github.com/upworthy/react-mobiledoc-editor) |
24-
| Vue | [vue-mobiledoc-editor](https://github.com/alidcastano/vue-mobiledoc-editor) |
2521

2622
If you only want to use the Mobiledoc-Kit runtime, for *rendering mobiledoc posts only* (not editing or creating them), you can use:
2723

@@ -465,7 +461,7 @@ Or run headless tests via testem:
465461

466462
* `yarn test`
467463

468-
Tests in CI are run at Travis via Saucelabs (see the `test:ci` yarn script).
464+
Tests in CI are run at Github Actions via Saucelabs (see the `test:ci` yarn script).
469465

470466
Run linter
471467

sauce_labs/saucie-connect.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ var opts = {
1414
connectVersion: '4.6.2'
1515
};
1616

17-
if (process.env.TRAVIS_JOB_NUMBER) {
18-
opts.tunnelIdentifier = process.env.TRAVIS_JOB_NUMBER;
19-
}
20-
2117
saucie.connect(opts).then(function () {
2218
process.exit();
2319
});

0 commit comments

Comments
 (0)