diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml index 516bd70..106dda7 100644 --- a/.gitea/workflows/publish.yml +++ b/.gitea/workflows/publish.yml @@ -11,7 +11,12 @@ jobs: with: node-version: "20.x" registry-url: "https://registry.npmjs.org" - - run: npm ci - - run: npm publish + - uses: pnpm/action-setup@v3 + name: Install pnpm + with: + version: 8 + run_install: false + - run: pnpm ci + - run: pnpm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}