fix some issues; migrate to bun'
This commit is contained in:
parent
cf3d5c6d6f
commit
54293ac3a1
56 changed files with 1360 additions and 764 deletions
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
|
|
@ -1,4 +1,6 @@
|
|||
name: Build obsidian plugin
|
||||
name: Build Obsidian Plugin
|
||||
|
||||
# adapted from https://github.com/argenos/nldates-obsidian/blob/master/.github/workflows/release.yml
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
@ -15,15 +17,14 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v3
|
||||
- uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
node-version: '16.x' # You might need to adjust this value to your own version
|
||||
bun-version: latest
|
||||
- name: Build
|
||||
id: build
|
||||
run: |
|
||||
yarn
|
||||
yarn run build --if-present
|
||||
bun install
|
||||
bun run build
|
||||
mkdir ${{ env.PLUGIN_NAME }}
|
||||
cp main.js manifest.json styles.css ${{ env.PLUGIN_NAME }}
|
||||
zip -r ${{ env.PLUGIN_NAME }}.zip ${{ env.PLUGIN_NAME }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue