diff --git a/.github/workflows/merge.yaml b/.github/workflows/merge.yaml new file mode 100644 index 0000000..484c892 --- /dev/null +++ b/.github/workflows/merge.yaml @@ -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 diff --git a/package.json b/package.json index cd7b4dd..8a238a4 100644 --- a/package.json +++ b/package.json @@ -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",