Skip to content
Permalink
Browse files
ci: apply random missing minor changes (#13)
* ci(github-actions): rename nodejs.yml to ci.yml
* ci(github-actions): bump actions/checkout@2
* ci(github-actions): add codecov & nyc reporter
* doc(README): add npm & ci badges
* chore(npm): add coverage dir to ignore list
* chore(npm): add spec dir to ignore list
* ci(github-actions): cleanup workflow
  • Loading branch information
erisu committed Oct 8, 2021
1 parent 9faae45 commit f7ad590a07a9e2de993f154d201feea2f6b6c36b
Showing 4 changed files with 20 additions and 7 deletions.
@@ -21,27 +21,30 @@ on: [push, pull_request]

jobs:
test:
name: NodeJS ${{ matrix.node-version }}

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x]
node-version: [12.x, 14.x, 16.x]

steps:
- uses: actions/checkout@v1

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

- name: Environment Information
- name: Run environment information
run: |
node --version
npm --version
- name: npm install and test
- name: Run npm install and test
run: npm cit
env:
CI: true

- uses: codecov/codecov-action@v2
with:
fail_ci_if_error: true
@@ -1 +1,3 @@
.*
coverage
spec
@@ -21,6 +21,10 @@

# @cordova/eslint-config

[![NPM](https://nodei.co/npm/cordova-eslint.png)](https://nodei.co/npm/cordova-eslint/)

[![Node CI](https://github.com/apache/cordova-eslint/workflows/Node%20CI/badge.svg?branch=master)](https://github.com/apache/cordova-eslint/actions?query=branch%3Amaster)

This repository centralizes the ESLint configuration used for Cordova's development.

## Installation
@@ -36,6 +36,10 @@
"all": true,
"exclude": [
"spec/"
],
"reporter": [
"lcov",
"text"
]
}
}

0 comments on commit f7ad590

Please sign in to comment.