This repository was archived by the owner on Sep 15, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +70
-62
lines changed Expand file tree Collapse file tree 4 files changed +70
-62
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on : [push, pull_request]
4+
5+ env :
6+ CI : true
7+ NODE : 12.x
8+ RUBY : 2.6.x
9+
10+ jobs :
11+ test :
12+ runs-on : ${{ matrix.os }}
13+
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ os : [ubuntu-latest, windows-latest]
18+
19+ steps :
20+ - name : Clone repository
21+ uses : actions/checkout@v2
22+
23+ - name : Set Node.js version
24+ uses : actions/setup-node@v1
25+ with :
26+ node-version : ${{ env.NODE }}
27+
28+ - name : Set up Ruby
29+ uses : actions/setup-ruby@v1
30+ with :
31+ ruby-version : ${{ env.RUBY }}
32+
33+ - name : Disable gem docs
34+ run : ' echo "gem: --no-document" > ~/.gemrc'
35+
36+ - name : Set up Ruby cache
37+ uses : actions/cache@v1
38+ with :
39+ path : vendor/bundle
40+ key : ${{ runner.os }}-ruby-v${{ env.RUBY }}-${{ hashFiles('Gemfile') }}-${{ hashFiles('Gemfile.lock') }}-${{ hashFiles('.github/workflows/ci.yml') }}
41+ restore-keys : |
42+ ${{ runner.os }}-ruby-v${{ env.RUBY }}-${{ hashFiles('Gemfile') }}-${{ hashFiles('Gemfile.lock') }}-${{ hashFiles('.github/workflows/ci.yml') }}
43+
44+ - name : Set up npm cache
45+ uses : actions/cache@v1
46+ with :
47+ path : ~/.npm
48+ key : ${{ runner.os }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}-${{ hashFiles('.github/workflows/ci.yml') }}
49+ restore-keys : |
50+ ${{ runner.OS }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}-${{ hashFiles('.github/workflows/ci.yml') }}
51+
52+ - name : Set up Bundler
53+ run : gem install bundler -v "~> 1.17"
54+
55+ - run : ruby --version
56+ - run : gem --version
57+ - run : bundle --version
58+ - run : node --version
59+ - run : npm --version
60+ - run : java -version
61+
62+ - name : Install npm dependencies
63+ run : npm ci
64+
65+ - name : Install bundler dependencies
66+ run : bundle install --deployment --jobs=4 --retry=3 --clean
67+
68+ - name : Run tests
69+ run : npm test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# The source code of < https://mpc-hc.org/ >
22
3- [ ![ Linux Build Status] ( https://img.shields.io/travis/mpc-hc/mpc-hc.org/master.svg?label=Linux%20build )] ( https://travis-ci.org/mpc-hc/mpc-hc.org )
4- [ ![ Windows Build Status] ( https://img.shields.io/appveyor/ci/XhmikosR/mpc-hc-org/master.svg?label=Windows%20build )] ( https://ci.appveyor.com/project/XhmikosR/mpc-hc-org/branch/master )
3+ [ ![ Build Status] ( https://github.com/mpc-hc/mpc-hc.org/workflows/CI/badge.svg )] ( https://github.com/mpc-hc/mpc-hc.org/actions?workflow=CI )
54[ ![ devDependencies Status] ( https://img.shields.io/david/dev/mpc-hc/mpc-hc.org.svg )] ( https://david-dm.org/mpc-hc/mpc-hc.org?type=dev )
65
76## Getting started
You can’t perform that action at this time.
0 commit comments