Skip to content

Commit

Permalink
Publish to NPM
Browse files Browse the repository at this point in the history
Signed-off-by: David Mehren <[email protected]>
  • Loading branch information
davidmehren committed Aug 31, 2024
1 parent 68a1bd6 commit bae7f37
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '22'
registry-url: 'https://npm.pkg.github.com'
- name: Enable corepack
run: corepack enable
shell: bash
- run: yarn install --immutable
- run: yarn npm publish
env:
YARN_NPM_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
nodeLinker: node-modules
npmPublishAccess: public
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "meta-marked",
"name": "@hedgedoc/meta-marked",
"version": "14.1.0",
"description": "The 'marked' markdown processor with a simple metadata system.",
"main": "./lib/meta-marked.js",
Expand Down
20 changes: 10 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ __metadata:
version: 8
cacheKey: 10c0

"@hedgedoc/meta-marked@workspace:.":
version: 0.0.0-use.local
resolution: "@hedgedoc/meta-marked@workspace:."
dependencies:
js-yaml: "npm:~4.1.0"
marked: "npm:14.1.0"
tape: "npm:5.8.1"
languageName: unknown
linkType: soft

"@ljharb/resumer@npm:^0.1.3":
version: 0.1.3
resolution: "@ljharb/resumer@npm:0.1.3"
Expand Down Expand Up @@ -727,16 +737,6 @@ __metadata:
languageName: node
linkType: hard

"meta-marked@workspace:.":
version: 0.0.0-use.local
resolution: "meta-marked@workspace:."
dependencies:
js-yaml: "npm:~4.1.0"
marked: "npm:14.1.0"
tape: "npm:5.8.1"
languageName: unknown
linkType: soft

"minimatch@npm:^3.0.4, minimatch@npm:^3.1.1":
version: 3.1.2
resolution: "minimatch@npm:3.1.2"
Expand Down

0 comments on commit bae7f37

Please sign in to comment.