Skip to content

Commit

Permalink
Integration tests with github workflow (#42)
Browse files Browse the repository at this point in the history
* Integration tests with github workflow

* fix workflows

* try again

* try again
  • Loading branch information
roginfarrer committed Mar 22, 2020
1 parent 6d274d2 commit c35c9c5
Show file tree
Hide file tree
Showing 4 changed files with 101 additions and 2,268 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI
on: [push]

jobs:
job1:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: borales/actions-yarn@v2.0.0
with:
# will run `yarn install` command
cmd: install
- uses: borales/actions-yarn@v2.0.0
with:
# will run `yarn test` command
cmd: test
job2:
name: Lint
needs: job1
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: borales/actions-yarn@v2.0.0
with:
# will run `yarn install` command
cmd: install
- uses: borales/actions-yarn@v2.0.0
with:
# will run `yarn test` command
cmd: lint
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# react-collapsed (useCollapse)

![](https://github.com/roginfarrer/react-collapsed/workflows/CI/badge.svg)

A custom hook for creating flexible and accessible expand/collapse components in React.

## v3
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
"react-dom": "^16.12.0",
"react-test-renderer": "^16.12.0",
"rogin-scripts": "^0.0.6-development",
"semantic-release": "^17.0.4",
"styled-components": "^5.0.1",
"ts-jest": "^25.2.0",
"ts-loader": "^6.2.1",
Expand Down

0 comments on commit c35c9c5

Please sign in to comment.