Skip to content

Commit

Permalink
fix: added continuos integration
Browse files Browse the repository at this point in the history
  • Loading branch information
peterknezek committed Oct 25, 2021
1 parent 919c07e commit 787192a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Continuos Integration

on:
pull_request:
branches:
- master

jobs:
test_pull_request:
name: Test pull request
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 'lts/*'

- name: Install Dependencies
run: npm ci

- name: Test
run: npm run test:ci

- name: Test build
run: npm run build
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"prepack": "rm -rf lib && tsc -b && oclif-dev readme",
"test": "jest --watchAll",
"test:ci": "jest",
"build": "tsc -b",
"version": "oclif-dev readme && git add README.md",
"har-to-mocks": "bin/run"
},
Expand Down

0 comments on commit 787192a

Please sign in to comment.