Skip to content

Commit

Permalink
Switch to GitHub Actions, upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
eaviles committed Jul 8, 2019
1 parent 4eb0e67 commit 640968f
Show file tree
Hide file tree
Showing 7 changed files with 464 additions and 588 deletions.
54 changes: 0 additions & 54 deletions .circleci/config.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/coverage
/package-lock.json
/reports
35 changes: 35 additions & 0 deletions .github/main.workflow
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
workflow "Checks & Publish" {
on = "push"
resolves = ["Publish"]
}

action "Install" {
uses = "actions/npm@master"
args = "ci"
}

action "Lint" {
uses = "actions/npm@master"
needs = ["Install"]
args = "run eslint"
}

action "Test" {
uses = "actions/npm@master"
needs = ["Install"]
args = "test"
secrets = ["CODECOV_TOKEN"]
}

action "Master" {
uses = "actions/bin/filter@master"
needs = ["Lint", "Test"]
args = "branch master"
}

action "Publish" {
uses = "actions/npm@master"
args = "publish"
secrets = ["NPM_AUTH_TOKEN"]
needs = ["Master"]
}
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/.eslintcache
.DS_Store
/coverage
/node_modules
/reports
8 changes: 3 additions & 5 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
*.test.js
/.circleci
/.eslintcache
/.eslintignore
/.nvmrc
/reports
/.*
/coverage
/templates
__mocks__
Loading

0 comments on commit 640968f

Please sign in to comment.