Skip to content

Commit

Permalink
Merge pull request #51 from b2wads/feat/actions
Browse files Browse the repository at this point in the history
Feat/actions
  • Loading branch information
Ana Azevedo authored Sep 17, 2019
2 parents a816bd8 + 86da524 commit d588ba3
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Node CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [8.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: test build
run: |
yarn
yarn test
env:
CI: true
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"lint:styl": "stylint source/",
"lint:js": "eslint source/",
"precommit": "yarn lint",
"prepush": "yarn test",
"release": "./node_modules/.bin/release-it",
"storybook": "./node_modules/.bin/cross-env THEME_ENV=$THEME_ENV start-storybook -p 9000",
"test": "./node_modules/.bin/cross-env NODE_ENV=testing BABEL_ENV=testing jest",
Expand Down

0 comments on commit d588ba3

Please sign in to comment.