Skip to content

Commit

Permalink
🔧 Move CI from CircleCI to GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kefranabg committed Nov 10, 2019
1 parent 10954d1 commit a132525
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 73 deletions.
73 changes: 0 additions & 73 deletions .circleci/config.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Node CI

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [8.x, 10.x, 12.x]

steps:
- uses: actions/checkout@v1
- uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm ci
- name: Run prettier check on project files
run: npm run prettier:check
- name: Run linter
run: npm run lint
- name: Run unit tests
run: npm run test:ci
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit a132525

Please sign in to comment.