Skip to content

Commit

Permalink
Add github actions CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Jun 15, 2021
1 parent 6b290a4 commit 8581f70
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,17 @@
name: main
on: [push]
jobs:
build-and-test:
runs-on: ubuntu-latest
name: Build and test
steps:
- uses: actions/checkout@v1

- uses: actions/cache@v2
with:
path: '/home/runner/work/codemirror/codemirror/node_modules'
key: ${{ runner.os }}-modules

- run: npm prepare

- run: npm test
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
@@ -1,6 +1,6 @@
# CodeMirror

[![Build Status](https://travis-ci.org/codemirror/CodeMirror.svg)](https://travis-ci.org/codemirror/CodeMirror)
[![Build Status](https://github.com/codemirror/codemirror/workflows/main/badge.svg)](https://github.com/codemirror/codemirror/actions)
[![NPM version](https://img.shields.io/npm/v/codemirror.svg)](https://www.npmjs.org/package/codemirror)

CodeMirror is a versatile text editor implemented in JavaScript for
Expand Down

0 comments on commit 8581f70

Please sign in to comment.