From 8e9e639f18232f0c1e80af2074f8d68e619c4e7a Mon Sep 17 00:00:00 2001 From: Kravets <57632712+kravetsone@users.noreply.github.com> Date: Sun, 2 Jun 2024 18:30:58 +0300 Subject: [PATCH] chore: some fixes at publish job --- .github/workflows/publish.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 802116d..4614930 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,7 +14,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - uses: oven-sh/setup-bun@v1 - run: npm install @@ -26,8 +26,16 @@ jobs: runs-on: ubuntu-latest needs: build steps: + - name: Checkout + uses: actions/checkout@v4 + + - uses: oven-sh/setup-bun@v1 + + - name: Build + run: bun run package + - name: Publish if: success() - run: npm run deploy + run: bun run deploy env: VSCE_PAT: ${{ secrets.VSCE_PAT }}