chore: move github actions workflows to pnpm

This commit is contained in:
Gareth George
2024-11-25 18:06:26 -08:00
committed by Gareth
parent 51a66839ff
commit c837a286ad
3 changed files with 13 additions and 3 deletions
+7 -2
View File
@@ -22,11 +22,16 @@ jobs:
with:
node-version: "20"
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Install dependencies
run: npm install --prefix ./docs
run: pnpm install --prefix ./docs
- name: Build
run: npm run generate --prefix ./docs
run: pnpm run generate --prefix ./docs
- name: Fix permissions
run: |
+5
View File
@@ -32,6 +32,11 @@ jobs:
with:
node-version: "20"
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
+1 -1
View File
@@ -14,7 +14,7 @@ env:
before:
hooks:
- go mod tidy
- npm --prefix webui install
- pnpm --prefix webui install
- sh -c "GOOS=linux BACKREST_BUILD_VERSION={{.Version}} go generate ./..."
- sh -c "GOOS=windows BACKREST_BUILD_VERSION={{.Version}} go generate ./..."