Skip to content

Commit

Permalink
Merge pull request #29 from yarastqt/yarastqt.ci-unit
Browse files Browse the repository at this point in the history
Run unit at ci
  • Loading branch information
yarastqt authored May 9, 2020
2 parents abfaa40 + dea3939 commit 50b88e7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
17 changes: 16 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 8
node-version: 12

- name: install root-deps
run: npm ci --ignore-scripts
Expand All @@ -26,3 +26,18 @@ jobs:

- name: eslint
run: npm run lint:js

units:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12

- name: install root-deps
run: npm ci

- name: unit
run: npm run unit
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
"dev": "tsc -w",
"format:js": "prettier --write src/**/*.ts",
"lint:js": "eslint --ext .ts,.js .",
"prepare": "build:manifest",
"prepublishOnly": "npm run cleanup && npm run build"
"prepare": "npm run build:manifest",
"prepublishOnly": "npm run cleanup && npm run build",
"unit": "jest"
},
"dependencies": {
"@oclif/command": "1.5.19",
Expand Down

0 comments on commit 50b88e7

Please sign in to comment.