generated from monadicarts/template-ts-npm
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Justin Frost
committed
Nov 20, 2024
1 parent
bd5231f
commit f3ddaf1
Showing
5 changed files
with
73 additions
and
4 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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Publish to npm | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*.*.*' | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 'lts/*' | ||
cache: 'npm' | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Build the package | ||
run: npm run build | ||
|
||
- name: Generate documentation | ||
run: npm run docs | ||
|
||
- name: Publish to npm | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
run: npm publish --access public | ||
|
||
- name: Create GitHub release | ||
uses: actions/create-release@v1 | ||
with: | ||
tag_name: ${{ github.ref_name }} | ||
release_name: ${{ github.ref_name }} | ||
body: | | ||
🎉 New release ${{ github.ref_name }} published to npm! | ||
View on npm: [@monadica/lazy-streams](https://www.npmjs.com/package/@monadica/lazy-streams?activeTab=readme) | ||
draft: false | ||
prerelease: false |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"codegraphy.connectionType": "Interaction", | ||
"codegraphy.nodeSize": "Lines", | ||
"codegraphy.showNodeModules": false, | ||
"codegraphy.showOrphans": true, | ||
"codegraphy.showLabels": true, | ||
"codegraphy.showOutlines": true, | ||
"codegraphy.showArrows": false, | ||
"codegraphy.doCollisions": true, | ||
"codegraphy.chargeForce": -100, | ||
"codegraphy.linkDistance": 100, | ||
"codegraphy.nodeColor": "D3", | ||
"codegraphy.selectedD3Color": "Spectral", | ||
"codegraphy.selectedNodeColor": "#fff", | ||
"codegraphy.favoriteNodeColor": "#ffd700", | ||
"codegraphy.outlineColor": "#ffd700" | ||
} |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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