diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 75ee180..ab14973 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,22 +14,22 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Use Node.js + - name: Use Node.js and Yarn uses: actions/setup-node@v3 with: node-version: "18.x" + registry-url: "https://registry.yarnpkg.com/" - - name: Update npm - run: npm install -g npm@latest + - name: Update Yarn + run: yarn policies set-version latest - - name: Clear npm cache - run: npm cache clean -f + - name: Install Dependencies + run: yarn install - name: Build id: build run: | - npm install - npm run build + yarn build mkdir ${{ env.PLUGIN_NAME }} cp main.js manifest.json ${{ env.PLUGIN_NAME }} zip -r ${{ env.PLUGIN_NAME }}.zip ${{ env.PLUGIN_NAME }} diff --git a/manifest.json b/manifest.json index 2bec2d2..8a97b87 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "share-to-notionnext", "name": "Share to NotionNext", - "version": "0.3.1", + "version": "0.3.2", "minAppVersion": "0.0.1", "description": "Shares obsidian md file to notion with notion api for NotionNext web deploy, originally created by EasyChris/obsidian-to-notion.", "author": "EasyChris, jxpeng98", diff --git a/package.json b/package.json index cd8bed4..79d9a0c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "share-to-notionnext", - "version": "0.3.1", + "version": "0.3.2", "type": "module", "description": "Shares obsidian md file to notion with notion api for NotionNext web deploy, originally created by EasyChris/obsidian-to-notion.", "main": "main.js",