Skip to content

Commit

Permalink
Add GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
BytewaveMLP committed Jul 1, 2020
1 parent 113b2e2 commit 29ed1de
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.git/
.github/
node_modules/
dist/

Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Node CI

on:
push:
paths:
- src/**.ts
- package.json
- yarn.lock
- tsconfig.json
- .eslintrc.js
pull_request:
paths:
- src/**.ts
- package.json
- yarn.lock
- tsconfig.json
- .eslintrc.js

jobs:
build-and-lint:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 12.x ]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: yarn install
run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn build
# - run: yarn test
# env:
# CI: true

0 comments on commit 29ed1de

Please sign in to comment.