Skip to content

Commit

Permalink
chore: update docker node to latest version 18.18.2. update pnpm to 8…
Browse files Browse the repository at this point in the history
….9.0 (#7824)
  • Loading branch information
mmaietta authored Oct 14, 2023
1 parent 526e075 commit 9e97794
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .changeset/little-drinks-grin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
---

chore: update docker node to latest version 18.18.2. update pnpm to 8.9.0
2 changes: 1 addition & 1 deletion .github/actions/pnpm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inputs:
version: # id of input
description: 'The pnpm version to use'
required: false
default: 8.6.10
default: 8.9.0

runs:
using: 'composite'
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/pretest/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ inputs:
version:
description: 'The pnpm version to use'
required: false
default: 8.6.10
default: 8.9.0

runs:
using: 'composite'
Expand All @@ -33,7 +33,7 @@ runs:
- name: Compile
run: pnpm compile
shell: bash

- name: Cache Electron
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
Expand Down
4 changes: 2 additions & 2 deletions docker/node/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
ARG IMAGE_VERSION=base
FROM electronuserland/builder:$IMAGE_VERSION

ARG NODE_VERSION 18.15.0
ARG NODE_VERSION 18.18.2

# this package is used for snapcraft and we should not clear apt list - to avoid apt-get update during snap build
RUN curl -L https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz | tar xz -C /usr/local --strip-components=1 && \
unlink /usr/local/CHANGELOG.md && unlink /usr/local/LICENSE && unlink /usr/local/README.md && \
# https://github.com/npm/npm/issues/4531
echo "unsafe-perm true" > .npmrc
RUN npm i -g pnpm@8.6.10
RUN npm i -g pnpm@8.9.0

0 comments on commit 9e97794

Please sign in to comment.