fix(ci): inclure GNU tar pour le cache pnpm
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
# Image locale de CI : Node 22, Bash, Git et le pnpm exact du workspace Contacts.
|
||||
# Image locale de CI : Node 22, Bash, Git, GNU tar et le pnpm exact du workspace Contacts.
|
||||
# Les jobs n'ont donc plus à télécharger ou installer ces outils à chaque exécution.
|
||||
FROM node:22-alpine
|
||||
|
||||
RUN apk add --no-cache bash git \
|
||||
# actions/cache requiert GNU tar et l’invoque via /bin/tar.
|
||||
RUN apk add --no-cache bash git tar \
|
||||
&& ln -sf /usr/bin/tar /bin/tar \
|
||||
&& tar --version | grep -q 'GNU tar' \
|
||||
&& corepack enable \
|
||||
&& corepack prepare pnpm@10.4.1 --activate \
|
||||
&& pnpm --version
|
||||
|
||||
Reference in New Issue
Block a user