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