Skip to content

Commit 0843b50

Browse files
committed
build(release): 🔖 0.0.16 release
1 parent 5337035 commit 0843b50

File tree

4 files changed

+21
-27
lines changed

4 files changed

+21
-27
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -46,30 +46,23 @@ jobs:
4646
- name: npm run build
4747
run: |
4848
npm run build
49-
- uses: actions/setup-node@v2
49+
- name: code coverage
50+
if: matrix.os == 'ubuntu-latest'
51+
uses: coverallsapp/github-action@master
5052
with:
51-
node-version: ${{ matrix.node-version }}
52-
registry-url: 'https://npm.pkg.github.com'
53-
scope: '@gregoranders'
54-
- run: npm ci
55-
- run: npm publish
56-
env:
57-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58-
- name: upload index.js
59-
id: uploadmain
60-
uses: gregoranders/nodejs-upload-asset@master
53+
github-token: ${{ secrets.GITHUB_TOKEN }}
54+
path-to-lcov: ./test/coverage/lcov.info
55+
- name: publish code coverage to code climate
56+
if: matrix.os == 'ubuntu-latest'
57+
uses: paambaati/[email protected]
6158
env:
62-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
6360
with:
64-
id: ${{ steps.createrelease.outputs.id }}
65-
path: dist/index.js
66-
name: index.js
67-
- name: upload index.d.ts
68-
id: uploadtype
69-
uses: gregoranders/nodejs-upload-asset@master
70-
env:
71-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61+
coverageCommand: npm test
62+
coverageLocations: |
63+
./test/coverage/lcov.info:lcov
64+
- name: Publish Unit Test Results
65+
uses: EnricoMi/publish-unit-test-result-action/composite@v1
7266
with:
73-
id: ${{ steps.createrelease.outputs.id }}
74-
path: dist/index.d.ts
75-
name: index.d.ts
67+
check_name: Unit Test Results node${{ matrix.node-version }}-${{ matrix.os }}
68+
files: test/junit.xml

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ This action provides the _name_, _version_ and the content of **package.json**,
3838
...
3939
- name: nodejs project information
4040
id: projectinfo
41-
uses: gregoranders/[email protected].15
41+
uses: gregoranders/[email protected].16
4242
- name: create release action
4343
id: createrelease
44-
uses: gregoranders/[email protected].15
44+
uses: gregoranders/[email protected].16
4545
env:
4646
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4747
PACKAGE_JSON: ${{ steps.projectinfo.outputs.context }}

SECURITY.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
| Version | Supported |
66
| :------ | :----------------: |
7-
| 0.0.15 | :white_check_mark: |
7+
| 0.0.16 | :white_check_mark: |
8+
| 0.0.15 | :x: |
89
| 0.0.14 | :x: |
910
| 0.0.13 | :x: |
1011
| 0.0.12 | :x: |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nodejs-project-info",
3-
"version": "0.0.15",
3+
"version": "0.0.16",
44
"description": "NodeJS Project Information",
55
"main": "./dist/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)