This is an automated email from the ASF dual-hosted git repository.

erose pushed a commit to branch HDDS-9225-website-v2
in repository https://gitbox.apache.org/repos/asf/ozone-site.git


The following commit(s) were added to refs/heads/HDDS-9225-website-v2 by this 
push:
     new 6ece957d HDDS-12427. Update corepack (#125)
6ece957d is described below

commit 6ece957d6b44466c8f168b615966d6f95464ea9b
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Thu Feb 27 19:16:19 2025 +0100

    HDDS-12427. Update corepack (#125)
---
 .github/workflows/static.yml | 3 +++
 Dockerfile                   | 1 +
 2 files changed, 4 insertions(+)

diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml
index d50d4b43..7b4550aa 100644
--- a/.github/workflows/static.yml
+++ b/.github/workflows/static.yml
@@ -56,6 +56,7 @@ jobs:
       uses: actions/checkout@v4
     - name: Enable corepack
       run: |
+        npm i -g --force corepack # see 
https://github.com/actions/setup-node/issues/1222
         corepack enable
     - name: Use Node.js ${{ env.node_version }}
       uses: actions/setup-node@v4
@@ -79,6 +80,7 @@ jobs:
       uses: actions/checkout@v4
     - name: Enable corepack
       run: |
+        npm i -g --force corepack # see 
https://github.com/actions/setup-node/issues/1222
         corepack enable
     - name: Use Node.js ${{ env.node_version }}
       uses: actions/setup-node@v4
@@ -98,6 +100,7 @@ jobs:
       uses: actions/checkout@v4
     - name: Enable corepack
       run: |
+        npm i -g --force corepack # see 
https://github.com/actions/setup-node/issues/1222
         corepack enable
     - name: Use Node.js ${{ env.node_version }}
       uses: actions/setup-node@v4
diff --git a/Dockerfile b/Dockerfile
index 4ce85b83..be347283 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -20,6 +20,7 @@ FROM node:${NODE_VERSION}-slim AS base
 # Creates store at /pnpm/store by default.
 ENV PNPM_HOME="/pnpm"
 ENV PATH="$PNPM_HOME:$PATH"
+RUN npm i -g --force corepack # see 
https://github.com/actions/setup-node/issues/1222
 RUN corepack enable
 
 # Install dependencies to /ozone-site/node_modules as part of the image.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to