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