Skip to content

Commit 4ffdb1e

Browse files
committed
build(release): 🔖 prepare 0.0.16 release
1 parent 353d9df commit 4ffdb1e

File tree

5 files changed

+18
-30
lines changed

5 files changed

+18
-30
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -46,29 +46,18 @@ 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 publish
55-
env:
56-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57-
- name: upload index.js
58-
id: uploadmain
59-
uses: gregoranders/nodejs-upload-asset@master
60-
env:
61-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62-
with:
63-
id: ${{ steps.createrelease.outputs.id }}
64-
path: dist/index.js
65-
name: index.js
66-
- name: upload index.d.ts
67-
id: uploadtype
68-
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/codeclimate-action@v3.0.0
6958
env:
70-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
7160
with:
72-
id: ${{ steps.createrelease.outputs.id }}
73-
path: dist/index.d.ts
74-
name: index.d.ts
61+
coverageCommand: npm test
62+
coverageLocations: |
63+
./test/coverage/lcov.info:lcov

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ This action finds or creates a release, so your workflow can access it.
3838
...
3939
- name: nodejs project information
4040
id: projectinfo
41-
uses: gregoranders/nodejs-project-info@v0.0.15
41+
uses: gregoranders/nodejs-project-info@v0.0.16
4242
- name: create release
4343
id: createrelease
44-
uses: gregoranders/nodejs-create-release@v0.0.15
44+
uses: gregoranders/nodejs-create-release@v0.0.16
4545
env:
4646
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4747
with:

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: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nodejs-create-release",
3-
"version": "0.0.15",
3+
"version": "0.0.16",
44
"description": "NodeJS Create Release",
55
"main": "./dist/index.js",
66
"scripts": {
@@ -22,8 +22,7 @@
2222
"url": "git+https://github.com/gregoranders/nodejs-create-release.git"
2323
},
2424
"publishConfig": {
25-
"access": "public",
26-
"registry": "https://npm.pkg.github.com/gregoranders"
25+
"access": "public"
2726
},
2827
"keywords": [
2928
"github",

0 commit comments

Comments
 (0)