diff --git a/.github/workflows/docs-deploy.yaml b/.github/workflows/docs-deploy.yaml index d782ec85..3544aef6 100644 --- a/.github/workflows/docs-deploy.yaml +++ b/.github/workflows/docs-deploy.yaml @@ -32,7 +32,10 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 # Not needed if lastUpdated is not enabled - - uses: pnpm/action-setup@v2 # Uncomment this if you're using pnpm + - name: Install pnpm + uses: pnpm/action-setup@v2 # Uncomment this if you're using pnpm + with: + version: 7 - name: Setup Node uses: actions/setup-node@v3 with: diff --git a/.github/workflows/versions.yaml b/.github/workflows/versions.yaml index 7ff33dc8..5c212c94 100644 --- a/.github/workflows/versions.yaml +++ b/.github/workflows/versions.yaml @@ -11,11 +11,11 @@ jobs: timeout-minutes: 15 runs-on: ubuntu-latest steps: - - name: checkout code repository + - name: Checkout code repository uses: actions/checkout@v3 with: fetch-depth: 0 - - name: setup node.js + - name: Setup node.js uses: actions/setup-node@v3 with: node-version: 18 @@ -23,13 +23,13 @@ jobs: uses: pnpm/action-setup@v2 with: version: 7 - - name: dependenies install + - name: Install dependencies run: pnpm install - name: Setup npmrc run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc - - name: start build + - name: Build with Truth-cli run: pnpm build - - name: create and publish versions + - name: Create and publish versions uses: changesets/action@v1 with: version: pnpm changeset version