Skip to content

Commit

Permalink
chore: Shorter CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Rapsssito committed Feb 24, 2020
1 parent 540f574 commit 99d39f7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release.yml
Expand Up @@ -16,12 +16,8 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 12
- name: Install dependencies
- name: CI
run: yarn ci
- name: ESLint
run: yarn lint
- name: Test
run: yarn test
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/tests.yml
Expand Up @@ -11,11 +11,5 @@ jobs:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Install dependencies
- name: CI
run: yarn ci

- name: ESLint
run: yarn lint

- name: Test
run: yarn test
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -5,9 +5,9 @@
"description": "React Native TCP socket API for Android & iOS",
"main": "src/index.js",
"scripts": {
"test": "jest ./__tests__",
"ci": "yarn install --frozen-lockfile",
"lint": "eslint ."
"ci": "yarn install --frozen-lockfile && yarn lint && yarn test",
"lint": "eslint .",
"test": "jest ./__tests__"
},
"files": [
"/android/src/",
Expand Down

0 comments on commit 99d39f7

Please sign in to comment.