Skip to content

armgit / papra

Public Imported from GitHub
0

The minimalistic document archiving platform.

refactor(ci): replace corepack with pnpm setup in workflow files (#124)

Corentin Thomassete77b49832f1a
diff --git a/.github/workflows/ci-apps-docs.yaml b/.github/workflows/ci-apps-docs.yaml
index 7834d33b..917f9b5c 100644
--- a/.github/workflows/ci-apps-docs.yaml
+++ b/.github/workflows/ci-apps-docs.yaml
@@ -16,7 +16,10 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- - run: corepack enable
+
+ - name: Install pnpm
+ uses: pnpm/action-setup@v4
+
- uses: actions/setup-node@v4
with:
node-version: 22
diff --git a/.github/workflows/ci-apps-papra-client.yaml b/.github/workflows/ci-apps-papra-client.yaml
index 6fc58749..a9d3998a 100644
--- a/.github/workflows/ci-apps-papra-client.yaml
+++ b/.github/workflows/ci-apps-papra-client.yaml
@@ -16,7 +16,10 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- - run: corepack enable
+
+ - name: Install pnpm
+ uses: pnpm/action-setup@v4
+
- uses: actions/setup-node@v4
with:
node-version: 22
diff --git a/.github/workflows/ci-apps-papra-server.yaml b/.github/workflows/ci-apps-papra-server.yaml
index 436edac5..b88668c2 100644
--- a/.github/workflows/ci-apps-papra-server.yaml
+++ b/.github/workflows/ci-apps-papra-server.yaml
@@ -16,7 +16,10 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- - run: corepack enable
+
+ - name: Install pnpm
+ uses: pnpm/action-setup@v4
+
- uses: actions/setup-node@v4
with:
node-version: 22