Skip to content

Commit

Permalink
build(release): 🔖 prepare 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 353d9df commit 4ffdb1e
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 30 deletions.
35 changes: 12 additions & 23 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,29 +46,18 @@ 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 publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: upload index.js
id: uploadmain
uses: gregoranders/nodejs-upload-asset@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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
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/codeclimate-action@v3.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
id: ${{ steps.createrelease.outputs.id }}
path: dist/index.d.ts
name: index.d.ts
coverageCommand: npm test
coverageLocations: |
./test/coverage/lcov.info:lcov
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

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 finds or creates a release, so your workflow can access it.
...
- name: nodejs project information
id: projectinfo
uses: gregoranders/nodejs-project-info@v0.0.15
uses: gregoranders/nodejs-project-info@v0.0.16
- name: create release
id: createrelease
uses: gregoranders/nodejs-create-release@v0.0.15
uses: gregoranders/nodejs-create-release@v0.0.16
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
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
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nodejs-create-release",
"version": "0.0.15",
"version": "0.0.16",
"description": "NodeJS Create Release",
"main": "./dist/index.js",
"scripts": {
Expand All @@ -22,8 +22,7 @@
"url": "git+https://github.com/gregoranders/nodejs-create-release.git"
},
"publishConfig": {
"access": "public",
"registry": "https://npm.pkg.github.com/gregoranders"
"access": "public"
},
"keywords": [
"github",
Expand Down

0 comments on commit 4ffdb1e

Please sign in to comment.