-
Notifications
You must be signed in to change notification settings - Fork 3
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
Pierre Awaragi
committed
Jun 27, 2021
1 parent
2a99ba4
commit f88e0ca
Showing
3 changed files
with
50 additions
and
5 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,21 @@ | ||
name: Node.js Package | ||
on: | ||
release: | ||
types: [created] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
# Setup .npmrc file to publish to npm | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
# Defaults to the user or organization that owns the workflow file | ||
scope: '@octocat' | ||
- run: yarn | ||
- run: yarn test | ||
- run: yarn 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,13 +6,26 @@ | |
"repository": "[email protected]:awaragi/eleventy-plugin-plantuml.git", | ||
"author": "Pierre Awaragi <[email protected]>", | ||
"license": "MIT", | ||
"keywords": [ | ||
"11ty", | ||
"eleventy", | ||
"plantuml", | ||
"plugin", | ||
"diagram", | ||
"markdown", | ||
"highlighter", | ||
"share" | ||
], | ||
"bugs": { | ||
"url": "https://github.com/awaragi/eleventy-plugin-plantuml/issues" | ||
}, | ||
"scripts": { | ||
"test": "jest test" | ||
}, | ||
"devDependencies": { | ||
"jest": "^27.0.5" | ||
}, | ||
"dependencies": { | ||
"sync-request": "^6.1.0" | ||
}, | ||
"devDependencies": { | ||
"jest": "^27.0.5" | ||
} | ||
} |