From cb8947bf9deab645a533ed65b96ce7e8821a134d Mon Sep 17 00:00:00 2001 From: Vojtech Novak Date: Tue, 21 Jan 2025 19:33:36 +0100 Subject: [PATCH] chore: fix ci publishing --- .github/workflows/nodejs.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 2231abf6..cae6177c 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -31,6 +31,18 @@ jobs: if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 # fetch all history + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: lts/* + cache: 'yarn' + - name: Install Dependencies + run: yarn install + - name: Create Release Pull Request or Publish id: changesets uses: changesets/action@v1