Skip to content

Commit

Permalink
chore: Add Test github action (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
tleunen committed Dec 11, 2019
1 parent 0cef5ee commit a5045b0
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 61 deletions.
60 changes: 0 additions & 60 deletions .circleci/config.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/test.yml
@@ -0,0 +1,35 @@
name: Test CI

on:
pull_request:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest

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

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, and build
run: |
npm ci
npm run build --if-present
env:
CI: true
- name: npm test
run: npm run test:coverage
- name: coverage
uses: codecov/codecov-action@v1.0.5
if: matrix.node-version == '13.x'
with:
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -8,7 +8,7 @@
"url": "https://github.com/tleunen/babel-plugin-module-resolver.git"
},
"engines": {
"node": ">= 6.0.0"
"node": ">= 8.0.0"
},
"files": [
"lib"
Expand Down

0 comments on commit a5045b0

Please sign in to comment.