Skip to content

Commit

Permalink
feat(ci): run CI/tests on GitHub Actions (#215)
Browse files Browse the repository at this point in the history
Use GitHub Actions to run automated tests whenever a pull request targets `master`, or a commit is merged to `master`.

Alternative if our current and previous CI systems: CircleCI and TravisCI.

This reference helped a lot: [Workflow syntax for GitHub Actions - GitHub Help](https://help.github.com/en/articles/workflow-syntax-for-github-actions)

Related: #205.
  • Loading branch information
adrienjoly committed Sep 1, 2019
1 parent c6a9549 commit 8886a82
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@ on:

jobs:
build:

runs-on: ubuntu-latest

services:
mongodb:
image: docker://mongo:3.4
ports:
- 27017:27017
strategy:
matrix:
node-version: [8.x]

# needs: mongodb
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
Expand Down

0 comments on commit 8886a82

Please sign in to comment.