From 4b613ce9665400971cb19c209c8f5fd9db9b357a Mon Sep 17 00:00:00 2001 From: Liam Date: Sun, 14 Apr 2024 22:37:02 +0100 Subject: [PATCH] workflow --- .gitea/workflows/publish.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 }}