File tree Expand file tree Collapse file tree 8 files changed +76
-32
lines changed
Expand file tree Collapse file tree 8 files changed +76
-32
lines changed Original file line number Diff line number Diff line change 1+ workflow "Push" {
2+ resolves = [" lint" , " coverage" ]
3+ on = " push"
4+ }
5+
6+ action "lint" {
7+ uses = " gimenete/[email protected] " 8+ }
9+
10+ action "coverage" {
11+ uses = " coverallsapp/[email protected] " 12+ }
Original file line number Diff line number Diff line change 1+ name : Node CI
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ build :
7+
8+ runs-on : ubuntu-latest
9+
10+ strategy :
11+ matrix :
12+ node-version : [14.x, 15.x]
13+
14+ steps :
15+ - uses : actions/checkout@v1
16+ - name : Use Node.js ${{ matrix.node-version }}
17+ uses : actions/setup-node@v1
18+ with :
19+ node-version : ${{ matrix.node-version }}
20+
21+ - name : Install Redrun
22+ run :
23+ npm i redrun -g
24+
25+ - name : Install
26+ run :
27+ npm install
28+
29+ - name : Bootstrap
30+ run :
31+ redrun bootstrap
32+
33+ - name : Lint
34+ run :
35+ redrun lint
36+
37+ - name : Coverage
38+ run :
39+ redrun coverage report
40+
41+ - name : Coveralls
42+ uses : coverallsapp/github-action@master
43+ with :
44+ github-token : ${{ secrets.GITHUB_TOKEN }}
45+
Original file line number Diff line number Diff line change @@ -17,5 +17,5 @@ modules/pako/dist
1717! modules /pako /dist /paco.min.js
1818
1919yarn-error.log
20- .putoutcache
2120
21+ coverage
Original file line number Diff line number Diff line change @@ -10,5 +10,5 @@ modules/ace-builds
1010
1111yarn-error.log
1212
13- madrun.js
1413
14+ coverage
Original file line number Diff line number Diff line change 11{
22 "match" : {
3+ "client" : {
4+ "declare-undefined-variables" : " off"
5+ },
36 "client/edward.js" : {
47 "remove-console" : " off"
58 }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# Edward [ ![ License] [ LicenseIMGURL ]] [ LicenseURL ] [ ![ NPM version] [ NPMIMGURL ]] [ NPMURL ] [ ![ Dependency Status] [ DependencyStatusIMGURL ]] [ DependencyStatusURL ]
22
33[ NPMIMGURL ] : https://img.shields.io/npm/v/edward.svg?style=flat
4- [ BuildStatusIMGURL ] : https://img.shields.io/travis/cloudcmd/edward/master.svg?style=flat
4+ [ BuildStatusURL ] : https://github.com/cloudcmd/edward/actions?query=workflow%3A%22Node+CI%22 " Build Status "
5+ [ BuildStatusIMGURL ] : https://github.com/cloudcmd/edward/workflows/Node%20CI/badge.svg
56[ DependencyStatusIMGURL ] : https://img.shields.io/david/cloudcmd/edward.svg?style=flat
67[ LicenseIMGURL ] : https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat
78[ NPM_INFO_IMG ] : https://nodei.co/npm/edward.png?downloads=true&&stars&&downloadRank " npm install edward "
Original file line number Diff line number Diff line change 88 < div class ="edit " data-name ="js-edit "> </ div >
99 < script src ="/edward/edward.js "> </ script >
1010 < script >
11- ( function ( ) {
12- 'use strict' ;
13-
14- window . addEventListener ( 'DOMContentLoaded' , function domLoad ( ) {
15- edward ( '[data-name="js-edit"]' , function ( editor ) {
16- editor
17- . focus ( )
18- . setOptions ( {
19- fontSize : '16px' ,
20- fontFamily : 'Droid Sans Mono'
21- } ) ;
22- } ) ;
23-
24- window . removeEventListener ( 'DOMContentLoaded' , domLoad ) ;
11+ /* global edward */
12+ window . addEventListener ( 'DOMContentLoaded' , function domLoad ( ) {
13+ edward ( '[data-name="js-edit"]' , ( editor ) => {
14+ editor
15+ . focus ( )
16+ . setOptions ( {
17+ fontSize : '16px' ,
18+ fontFamily : 'Droid Sans Mono' ,
19+ } ) ;
2520 } ) ;
26- } ) ( )
21+
22+ window . removeEventListener ( 'DOMContentLoaded' , domLoad ) ;
23+ } ) ;
2724 </ script >
2825 </ body >
2926</ html >
You can’t perform that action at this time.
0 commit comments