Merge pull request #5 from simonecorsi/fix/added-test-on-mr

feat: added test workflow for pr
This commit is contained in:
Simone Corsi
2021-01-16 22:50:02 +01:00
committed by GitHub
2 changed files with 19 additions and 2 deletions

19
.github/workflows/merge.yaml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Test
on: [pull_request, push]
jobs:
version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
- name: tests
run: npm cit

View File

@@ -46,7 +46,6 @@
"husky": "^4.2.5",
"lint-staged": "^10.2.2",
"markdown-toc": "^1.2.0",
"ninos": "^3.0.0",
"nyc": "^15.0.1",
"prettier": "^2.0.5",
"sinon": "^9.2.3",
@@ -57,7 +56,6 @@
"dependencies": {
"@actions/exec": "^1.0.4",
"@actions/core": "^1.2.6",
"@actions/github": "^4.0.0",
"ejs": "^3.1.5",
"got": "^11.8.1",
"remark": "^13.0.0",