chore: bump boilerplate to v1.12.0
#155
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Plugin | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
fetch-depth: 0 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
cache: yarn | |
- name: Install Build Package | |
run: | | |
yarn install --frozen-lockfile | |
shell: bash | |
- name: Build Package | |
run: | | |
yarn workspace koishi-plugin-desktop build | |
yarn workspace koishi-plugin-desktop pack --filename koishi-plugin-desktop.tgz | |
shell: bash | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: koishi-plugin-desktop-${{ github.sha }} | |
path: packages/plugin/koishi-plugin-desktop.tgz |