Skip to content

Commit

Permalink
Add Travis build to lint and publish
Browse files Browse the repository at this point in the history
  • Loading branch information
textbook committed Jun 23, 2019
1 parent d5814e8 commit 62c469b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
dist: xenial

language: node_js

node_js:
- '10'

cache:
npm: true

install:
- npm ci

script:
- npm run lint

deploy:
provider: npm
email: $NPM_EMAIL_ADDRESS
api_key: $NPM_AUTH_TOKEN
on:
tags: true
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"name": "@codeyourfuture/eslint-config-standard",
"version": "1.0.0",
"description": "A standard ESLint configuration for all CYF examples/projects.",
"private": false,
"files": [],
"main": "index.js",
"scripts": {
"lint": "eslint .",
Expand Down

0 comments on commit 62c469b

Please sign in to comment.