Skip to content

Commit

Permalink
🚀 v1.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Sumin <[email protected]>
  • Loading branch information
milk717 committed Mar 3, 2024
1 parent b5ca876 commit 2d3971e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,19 @@ name: Publish obsidian-callouts-markdown Package
on:
push:
tags:
- 'v.*'
paths:
- 'obsidian-callouts-markdown/**'
- 'v*'

jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '18'
registry-url: 'https://registry.npmjs.org/'

- name: Install Dependencies
run: yarn workspace obsidian-callouts-markdown install --frozen-lockfile
Expand All @@ -25,7 +24,8 @@ jobs:
run: yarn workspace obsidian-callouts-markdown build

- name: Publish to NPM
run: npm publish
working-directory: ./obsidian-callouts-markdown/dist
run: |
cd packages/obsidian-callouts-markdown
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 2d3971e

Please sign in to comment.