Skip to content

Commit 6c328c8

Browse files
committed
fix: add missing workspace files to Docker and fix pnpm order in workflows
- Add package.json, pnpm-lock.yaml, and pnpm-workspace.yaml to Dockerfile - Fix pnpm setup order in lockfile.yml and spellcheck.yml workflows - Add dependency installation to spellcheck workflow
1 parent f92ada8 commit 6c328c8

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

.github/workflows/lockfile.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ jobs:
2020
src:
2121
- 'pnpm-lock.yaml'
2222
23+
- uses: pnpm/action-setup@v4
24+
with:
25+
version: 10.5.2
26+
run_install: false
27+
2328
- name: Use Node.js 18
2429
uses: actions/setup-node@v5
2530
with:
2631
node-version: 18
2732
cache: 'pnpm'
2833

29-
- uses: pnpm/action-setup@v4
30-
with:
31-
version: 10.5.2
32-
run_install: false
33-
3434
- if: steps.changes.outputs.src == 'true'
3535
run: |
3636
pnpm install --filter . --frozen-lockfile

.github/workflows/spellcheck.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,7 @@ jobs:
2424
node-version: 18
2525
cache: 'pnpm'
2626

27+
- name: Install dependencies
28+
run: pnpm install --frozen-lockfile
29+
2730
- run: pnpm run spellcheck

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ RUN apt-get update && apt-get install -y git g++ make python3 python3-setuptools
44
WORKDIR /ethereumjs-monorepo
55

66
COPY .git .git
7+
COPY package.json package.json
8+
COPY pnpm-lock.yaml pnpm-lock.yaml
9+
COPY pnpm-workspace.yaml pnpm-workspace.yaml
710
COPY node_modules node_modules
811

912
# copy dist folders

0 commit comments

Comments
 (0)