From ad514e7f109aa1c3d22af87f080a0e956b47fe39 Mon Sep 17 00:00:00 2001 From: Kirill Zhumarin Date: Wed, 7 Jan 2026 10:53:53 +0000 Subject: [PATCH] update CI --- .github/workflows/ci.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1de4909..f0ce4a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,12 +22,18 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Build - run: | - npm install - npm run gh-pages-build + - uses: actions/checkout@v4 + # Setup .npmrc file to publish to npm + - uses: actions/setup-node@v4 + with: + node-version: '22.x' + registry-url: 'https://registry.npmjs.org' + - run: corepack enable pnpm + - run: npm install --global corepack@latest + - run: pnpm install --frozen-lockfile + - run: pnpm run gh-pages-build + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: