Skip to content

Commit

Permalink
chore: update dependencies and github action
Browse files Browse the repository at this point in the history
Updates to setup-node@v2

Follows github action coveralls usage from
nodeshift/new-module-starter#12
  • Loading branch information
helio-frota committed Aug 6, 2021
1 parent d0399a6 commit 04d92e3
Show file tree
Hide file tree
Showing 7 changed files with 1,615 additions and 2,418 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/ci-action.yml
Expand Up @@ -13,24 +13,13 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
- run: node_modules/nyc/bin/nyc.js report --reporter=lcovonly
- name: Coveralls Parallel
- name: upload coverage to Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
flag-name: run-${{ matrix.node-version }}
parallel: true
finish:
needs: build
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
flag-name: run-${{ matrix.node-version }}
3 changes: 2 additions & 1 deletion .gitignore
@@ -1,6 +1,7 @@
node_modules/
tmp/

.nyc_output/
coverage/
#System Files
.DS_Store
Thumbs.db
19 changes: 0 additions & 19 deletions licenses/DEBUG_MIT.TXT

This file was deleted.

13 changes: 3 additions & 10 deletions licenses/licenses.html
Expand Up @@ -22,13 +22,6 @@ <h2>nodejs-rest-http</h2>
</tr>
<tr>
<td>N/A</td>
<td>debug</td>
<td>4.3.1</td>
<td>http:&#x2F;&#x2F;www.opensource.org&#x2F;licenses&#x2F;MIT</td>
<td><a href=DEBUG_MIT.TXT>DEBUG_MIT.TXT</a></td>
</tr>
<tr>
<td>N/A</td>
<td>express</td>
<td>4.17.1</td>
<td>http:&#x2F;&#x2F;www.opensource.org&#x2F;licenses&#x2F;MIT</td>
Expand All @@ -37,14 +30,14 @@ <h2>nodejs-rest-http</h2>
<tr>
<td>N/A</td>
<td>license-reporter</td>
<td>1.3.0</td>
<td>1.4.0</td>
<td>http:&#x2F;&#x2F;www.apache.org&#x2F;licenses&#x2F;LICENSE-2.0</td>
<td><a href=LICENSE-REPORTER_APACHE-2.0.TXT>LICENSE-REPORTER_APACHE-2.0.TXT</a></td>
</tr>
<tr>
<td>N/A</td>
<td>pino</td>
<td>6.11.2</td>
<td>6.13.0</td>
<td>http:&#x2F;&#x2F;www.opensource.org&#x2F;licenses&#x2F;MIT</td>
<td><a href=PINO_MIT.TXT>PINO_MIT.TXT</a></td>
</tr>
Expand All @@ -58,7 +51,7 @@ <h2>nodejs-rest-http</h2>
<tr>
<td>N/A</td>
<td>pino-pretty</td>
<td>4.7.1</td>
<td>5.1.2</td>
<td>http:&#x2F;&#x2F;www.opensource.org&#x2F;licenses&#x2F;MIT</td>
<td><a href=PINO-PRETTY_MIT.TXT>PINO-PRETTY_MIT.TXT</a></td>
</tr>
Expand Down
16 changes: 3 additions & 13 deletions licenses/licenses.xml
Expand Up @@ -14,16 +14,6 @@
</license>
</licenses>
</dependency>
<dependency>
<packageName>debug</packageName>
<version>4.3.1</version>
<licenses>
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/MIT</url>
</license>
</licenses>
</dependency>
<dependency>
<packageName>express</packageName>
<version>4.17.1</version>
Expand All @@ -36,7 +26,7 @@
</dependency>
<dependency>
<packageName>license-reporter</packageName>
<version>1.3.0</version>
<version>1.4.0</version>
<licenses>
<license>
<name>Apache License 2.0</name>
Expand All @@ -46,7 +36,7 @@
</dependency>
<dependency>
<packageName>pino</packageName>
<version>6.11.2</version>
<version>6.13.0</version>
<licenses>
<license>
<name>MIT License</name>
Expand All @@ -66,7 +56,7 @@
</dependency>
<dependency>
<packageName>pino-pretty</packageName>
<version>4.7.1</version>
<version>5.1.2</version>
<licenses>
<license>
<name>MIT License</name>
Expand Down

0 comments on commit 04d92e3

Please sign in to comment.