update CI

This commit is contained in:
Kirill Zhumarin 2026-01-07 10:53:53 +00:00
parent 94549dc8ce
commit ad514e7f10

View file

@ -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: