Updated workflow to use pnpm
Some checks failed
Publish to Gitea Packages / publish (push) Failing after 35s

This commit is contained in:
2025-06-29 13:45:45 +01:00
parent 86d4833758
commit 4ccf63179f

View File

@ -15,14 +15,17 @@ jobs:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
- name: Install dependencies - name: Install pnpm
run: npm install run: npm install -g pnpm
- name: Install dependencies from npm
run: pnpm install
- name: Run build - name: Run build
run: npm run build run: pnpm run build
- name: Publish to Gitea registry - name: Publish to Gitea registry
run: | run: |
npm config set registry https://git.luke-else.co.uk/api/packages/luke-else/npm/ pnpm config set registry https://git.luke-else.co.uk/api/packages/luke-else/npm/
echo "//git.luke-else.co.uk/api/packages/luke-else/npm/:_authToken=${{ secrets.CONTAINER_REGISTRY_PASSKEY }}" >> ~/.npmrc echo "//git.luke-else.co.uk/api/packages/luke-else/npm/:_authToken=${{ secrets.CONTAINER_REGISTRY_PASSKEY }}" >> ~/.npmrc
npm publish pnpm publish