-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: K.B.Dharun Krishna <[email protected]>
- Loading branch information
Showing
4 changed files
with
63 additions
and
12 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,24 @@ | ||
# This workflow automatically publishes the package to NPM when a new release is created. | ||
# Before, creating a new release, make sure to update the package version in package.json | ||
# and add a Granular Access Token (with read and write packages scope) | ||
# to the repository secrets with the name NPM_TOKEN. | ||
# Once, the release has been published remove it from the repository secrets. | ||
|
||
name: Publish Package to NPM | ||
on: | ||
release: | ||
types: [published] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
# Setup .npmrc file to publish to npm | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
- run: npm ci | ||
- run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "tldr-lint", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"description": "A linting tool to validate tldr pages", | ||
"repository": "tldr-pages/tldr-lint", | ||
"scripts": { | ||
|
@@ -27,9 +27,11 @@ | |
"name": "Ruben Vereecken", | ||
"email": "[email protected]" | ||
}, | ||
"maintainers": { | ||
"name": "tldr-pages team" | ||
}, | ||
"maintainers": [ | ||
{ | ||
"name": "tldr-pages team" | ||
} | ||
], | ||
"engines": { | ||
"node": ">=18" | ||
}, | ||
|
@@ -46,6 +48,10 @@ | |
"jison": "^0.4.18", | ||
"onchange": "^7.1.0" | ||
}, | ||
"funding": { | ||
"type": "liberapay", | ||
"url": "https://liberapay.com/tldr-pages" | ||
}, | ||
"files": [ | ||
"lib/" | ||
] | ||
|