Skip to content

Commit

Permalink
Add npm package and github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
scottjr632 committed Jul 14, 2020
1 parent 98b2712 commit 7040a1e
Show file tree
Hide file tree
Showing 4 changed files with 1,607 additions and 3 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: lint
on:
push:
branches:
- '*'
- '!master'
jobs:
eslint:
name: eslint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10
- run: yarn
- run: yarn style:check
18 changes: 18 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: npm-publish
on:
push:
branches:
- master
jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10
- run: yarn
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_AUTH_TOKEN }}
Loading

0 comments on commit 7040a1e

Please sign in to comment.