From 8ac4a0e52f5ba9bd2130aa51e6040c143b078388 Mon Sep 17 00:00:00 2001 From: Vojtech Novak Date: Tue, 21 Jan 2025 22:35:39 +0400 Subject: [PATCH] chore: fix ci publishing (#748) --- .github/workflows/nodejs.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 2231abf..cae6177 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