From 4d4706c4ba6a43539c24b7a7666f93563ef5ceac Mon Sep 17 00:00:00 2001 From: Alix von Schirp Date: Mon, 10 Mar 2025 21:53:39 +0100 Subject: [PATCH] fix: make docs workflow use pnpm --- .github/workflows/docs.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 682b884..44c97c4 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -41,13 +41,12 @@ jobs: - name: Build uses: actions/setup-node@v4 with: - node-version: 16.x - cache: 'npm' - - run: npm ci - - run: npm run build # set up 'build' script in your package.json + node-version: 20.x + cache: 'pnpm' + - run: pnpm run build # set up 'build' script in your package.json - name: Build documents - run: npm run docs #set up 'docs' build script in your package.json + run: pnpm run docs #set up 'docs' build script in your package.json - name: tar the new docs run: tar -cvf newdocumentation.tar ./docs