Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.

Commit

Permalink
fixed workflow (#82)
Browse files Browse the repository at this point in the history
* fixed workflow

* bumped to 1.7.17
  • Loading branch information
eugene-f02 authored May 12, 2023
1 parent da2a73d commit 7c6f601
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 18 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,17 @@ jobs:
name: npm package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://npm.pkg.github.com
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: echo "github.event.release.target_commitish=${{github.event.release.target_commitish}}, github.event_name=${{ github.event_name }}, github.ref=${{ github.ref }}, prerelease=${{github.event.release.prerelease}}, dryrun= ${{ github.event_name != 'release' || github.event.release.target_commitish != 'master' || github.event.release.prerelease }}"
- run: npm install --only=prod
- uses: JS-DevTools/npm-publish@v1
- uses: JS-DevTools/npm-publish@v2
with:
registry: https://npm.pkg.github.com
token: ${{ secrets.NPM_TOKEN }}
dry-run: ${{ github.event_name != 'release' || github.event.release.target_commitish != 'master' || github.event.release.prerelease }}
dry-run: ${{ github.event_name != 'release' || github.event.release.target_commitish != 'master' || github.event.release.prerelease }}
10 changes: 5 additions & 5 deletions editormd.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
* Editor.md
*
* @file editormd.js
* @version v1.7.16
* @version v1.7.17
* @description Open source online markdown editor.
* @license MIT License
* @author Pandao
* {@link https://github.com/pandao/editor.md}
* @updateTime 2023-05-11
* @author IBM Skills Network
* {@link https://github.com/ibm-skills-network/editor.md}
* @updateTime 2023-05-12
*/

;(function(factory) {
Expand Down Expand Up @@ -59,7 +59,7 @@
};

editormd.title = editormd.$name = "Editor.md";
editormd.version = "1.7.16";
editormd.version = "1.7.17";
editormd.homePage = "https://pandao.github.io/editor.md/";
editormd.classPrefix = "editormd-";

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ibm-skills-network/editor.md",
"version": "1.7.16",
"version": "1.7.17",
"description": "Open source online markdown editor.",
"directories": {
"doc": "docs",
Expand All @@ -10,21 +10,21 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": "https://github.com/ibm-skills-network/npm-registry",
"repository": "https://github.com/ibm-skills-network/editor.md",
"publishConfig": {
"registry": "https://github.com/ibm-skills-network/npm-registry"
"registry": "https://npm.pkg.github.com"
},
"keywords": [
"editor.md",
"markdown",
"editor"
],
"author": "Pandao",
"author": "IBM Skills Network",
"license": "MIT",
"bugs": {
"url": "https://github.com/pandao/editor.md/issues"
"url": "https://github.com/ibm-skills-network/editor.md/issues"
},
"homepage": "https://github.com/pandao/editor.md",
"homepage": "https://github.com/ibm-skills-network/editor.md",
"devDependencies": {
"dateformatter": "0.1.0",
"gulp": "4.0.2",
Expand Down
2 changes: 1 addition & 1 deletion src/editormd.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
};

editormd.title = editormd.$name = "Editor.md";
editormd.version = "1.7.16";
editormd.version = "1.7.17";
editormd.homePage = "https://pandao.github.io/editor.md/";
editormd.classPrefix = "editormd-";

Expand Down

0 comments on commit 7c6f601

Please sign in to comment.