Skip to content

Commit

Permalink
Merge 9277613 into db1ab78
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrum committed Oct 15, 2020
2 parents db1ab78 + 9277613 commit 79c1f16
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 12 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Actions Status
on:
pull_request:
types: [opened, synchronize]
branches:
- master
env:
CI: true

jobs:
run:
name: Node ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
node: [10, 12, 14]
os: [ubuntu-latest]

steps:
- name: Clone repository
uses: actions/checkout@v2

- name: Set Node.js version
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}

- name: Install npm dependencies
run: npm i

- name: Run tests
run: npm run test

- name: Run Coveralls
uses: coverallsapp/github-action@master
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
4 changes: 4 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"reporter": ["lcov", "text"],
"extension": [".js"]
}
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "posthtml",
"version": "0.13.3",
"version": "0.13.4",
"description": "HTML/XML processor",
"keywords": [
"html",
Expand Down Expand Up @@ -30,7 +30,6 @@
"chai": "^4.0.0",
"chai-as-promised": "^7.1.1",
"chai-subset": "^1.6.0",
"coveralls": "^3.0.11",
"jsdoc-to-markdown": "^6.0.1",
"mocha": "^8.1.1",
"nyc": "^15.0.1",
Expand All @@ -40,7 +39,6 @@
"scripts": {
"lint": "standard --env mocha",
"test": "npm run lint && nyc mocha",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"docs:api": "jsdoc2md lib/api.js > docs/api.md",
"docs:core": "jsdoc2md lib/index.js > docs/core.md",
"release": "standard-version"
Expand Down

0 comments on commit 79c1f16

Please sign in to comment.