diff --git a/.github/workflows/changeset.yaml b/.github/workflows/changeset.yaml index a06329b71..614a2412c 100644 --- a/.github/workflows/changeset.yaml +++ b/.github/workflows/changeset.yaml @@ -21,25 +21,29 @@ jobs: - name: checkout code repository uses: actions/checkout@v4 with: - fetch-depth: 0 + fetch-depth: 1 + + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + version: 9 - name: setup node.js uses: actions/setup-node@v4 with: node-version: 20 - cache: 'pnpm' - + cache: "pnpm" + - name: Cache turbo build setup uses: actions/cache@v4 - with: + with: path: .turbo key: ${{ runner.os }}-turbo-${{ github.sha }} restore-keys: | ${{ runner.os }}-turbo- - - run: corepack enable - name: install dependencies - run: pnpm install + run: pnpm install --frozen-lockfile - name: create and publish versions uses: changesets/action@v1