From 2d5de2138a21ea4ac1972ef5b4347dc021754495 Mon Sep 17 00:00:00 2001 From: icealtria <74185220+icealtria@users.noreply.github.com> Date: Sat, 15 Jun 2024 09:48:45 +0800 Subject: [PATCH] ci --- .github/workflows/builid.yml | 30 ++++++++++++++++++++++++++++++ .github/workflows/release.yml | 9 ++++++++- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/builid.yml diff --git a/.github/workflows/builid.yml b/.github/workflows/builid.yml new file mode 100644 index 0000000..0a3a361 --- /dev/null +++ b/.github/workflows/builid.yml @@ -0,0 +1,30 @@ +name: release plugin + +on: + push: + branches: + - master + workflow_dispatch: + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: 'pnpm' + + - uses: pnpm/action-setup@v4 + with: + version: 9 + run_install: true + + - name: Build + run: pnpm build + \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3af746a..62e88c0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,9 +13,16 @@ jobs: steps: - uses: actions/checkout@v4 + + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: 'pnpm' + - uses: pnpm/action-setup@v4 with: - version: 8 + version: 9 run_install: true - name: Build