Skip to content

Commit

Permalink
feat: added test workflow for pr
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Jan 16, 2021
1 parent b8890fc commit 1bd01f6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/merge.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Test

on: [merge]

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
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 1bd01f6

Please sign in to comment.