-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(release): 🔖 prepare 0.0.16 release
- Loading branch information
1 parent
353d9df
commit 4ffdb1e
Showing
5 changed files
with
18 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[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.d.ts | ||
name: index.d.ts | ||
coverageCommand: npm test | ||
coverageLocations: | | ||
./test/coverage/lcov.info:lcov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected].15 | ||
uses: gregoranders/[email protected].16 | ||
- name: create release | ||
id: createrelease | ||
uses: gregoranders/[email protected].15 | ||
uses: gregoranders/[email protected].16 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters