mirror of
https://github.com/garethgeorge/backrest.git
synced 2026-08-28 11:56:28 +00:00
chore: move github actions workflows to pnpm
This commit is contained in:
@@ -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: |
|
||||
|
||||
@@ -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
@@ -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 ./..."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user