Skip to content

Commit

Permalink
build(release): 🔖 0.0.16 release
Browse files Browse the repository at this point in the history
  • Loading branch information
gregoranders committed Feb 25, 2022
1 parent 5337035 commit 0843b50
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 27 deletions.
39 changes: 16 additions & 23 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,30 +46,23 @@ jobs:
- name: npm run build
run: |
npm run build
- uses: actions/setup-node@v2
- name: code coverage
if: matrix.os == 'ubuntu-latest'
uses: coverallsapp/github-action@master
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://npm.pkg.github.com'
scope: '@gregoranders'
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: upload index.js
id: uploadmain
uses: gregoranders/nodejs-upload-asset@master
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./test/coverage/lcov.info
- name: publish code coverage to code climate
if: matrix.os == 'ubuntu-latest'
uses: paambaati/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
id: ${{ steps.createrelease.outputs.id }}
path: dist/index.js
name: index.js
- name: upload index.d.ts
id: uploadtype
uses: gregoranders/nodejs-upload-asset@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
coverageCommand: npm test
coverageLocations: |
./test/coverage/lcov.info:lcov
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action/composite@v1
with:
id: ${{ steps.createrelease.outputs.id }}
path: dist/index.d.ts
name: index.d.ts
check_name: Unit Test Results node${{ matrix.node-version }}-${{ matrix.os }}
files: test/junit.xml
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ This action provides the _name_, _version_ and the content of **package.json**,
...
- name: nodejs project information
id: projectinfo
uses: gregoranders/[email protected].15
uses: gregoranders/[email protected].16
- name: create release action
id: createrelease
uses: gregoranders/[email protected].15
uses: gregoranders/[email protected].16
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PACKAGE_JSON: ${{ steps.projectinfo.outputs.context }}
Expand Down
3 changes: 2 additions & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

| Version | Supported |
| :------ | :----------------: |
| 0.0.15 | :white_check_mark: |
| 0.0.16 | :white_check_mark: |
| 0.0.15 | :x: |
| 0.0.14 | :x: |
| 0.0.13 | :x: |
| 0.0.12 | :x: |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nodejs-project-info",
"version": "0.0.15",
"version": "0.0.16",
"description": "NodeJS Project Information",
"main": "./dist/index.js",
"scripts": {
Expand Down

0 comments on commit 0843b50

Please sign in to comment.