Skip to content

Commit c195c18

Browse files
committed
Github Actions
1 parent c89eec6 commit c195c18

File tree

3 files changed

+35
-52
lines changed

3 files changed

+35
-52
lines changed

.github/workflows/ci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: ci
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- '**'
9+
jobs:
10+
build:
11+
runs-on: ubuntu-18.04
12+
env:
13+
MONGODB_VERSION: 3.6.9
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Use Node.js
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: '10.14'
20+
- name: Cache Node.js modules
21+
uses: actions/cache@v2
22+
with:
23+
path: ~/.npm
24+
key: v1-npm-deps-${{ hashFiles('**/package-lock.json') }}
25+
restore-keys: v1-npm-deps-
26+
- run: npm ci
27+
- run: npm install -g mongodb-runner
28+
- run: mongodb-runner start
29+
- run: npm run lint
30+
- run: npm test -- --maxWorkers=4
31+
- run: npm run integration
32+
env:
33+
CI: true
34+
- run: bash <(curl -s https://codecov.io/bash)

.travis.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<a href="https://twitter.com/intent/follow?screen_name=parseplatform"><img alt="Follow on Twitter" src="https://img.shields.io/twitter/follow/parseplatform?style=social&label=Follow"></a>
1313
<a href="https://community.parseplatform.org/"><img alt="Join the conversation" src="https://img.shields.io/discourse/https/community.parseplatform.org/topics.svg"></a>
1414
<a href="https://github.com/parse-community/Parse-SDK-JS/blob/master/LICENSE"><img alt="License" src="https://img.shields.io/badge/license-BSD-lightgrey.svg"></a>
15-
<a href=" https://travis-ci.org/parse-community/Parse-SDK-JS"><img alt="Build status" src="https://travis-ci.org/parse-community/Parse-SDK-JS.svg?branch=master"></a>
15+
<a href="https://github.com/parse-community/Parse-SDK-JS/actions?query=workflow%3Aci+branch%3Amaster"><img alt="Build status" src="https://github.com/parse-community/Parse-SDK-JS/workflows/ci/badge.svg?branch=master"></a>
1616
<a href="#backers"><img alt="Backers on Open Collective" src="https://opencollective.com/parse-server/backers/badge.svg" /></a>
1717
<a href="#sponsors"><img alt="Sponsors on Open Collective" src="https://opencollective.com/parse-server/sponsors/badge.svg" /></a>
1818
</p>

0 commit comments

Comments
 (0)