Skip to content

🚀 v.1.0.4

🚀 v.1.0.4 #9

Workflow file for this run

name: Publish obsidian-callouts-markdown Package
on:
push:
tags:
- 'v*'
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
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
- name: Move README.md to Package
run: cp README.md packages/obsidian-callouts-markdown/
- name: Build obsidian-callouts-markdown package
run: yarn workspace obsidian-callouts-markdown build
- name: Publish to NPM
run: |
cd packages/obsidian-callouts-markdown
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}