Skip to content

Commit

Permalink
feat: update node and pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
martines3000 committed Jul 2, 2024
1 parent 278662e commit c0744fd
Show file tree
Hide file tree
Showing 7 changed files with 10,237 additions and 7,228 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8.6.10
- name: Install node
uses: actions/setup-node@v3
package_json_file: "package.json"
- name: Use Node
uses: actions/setup-node@v4
with:
node-version: 18.16.0
registry-url: https://registry.npmjs.org/
cache: 'pnpm'
node-version-file: '.nvmrc'
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.16.0
v20.15.0
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM node:18.16.0-alpine3.16
FROM node:20.15.0-alpine3.16

WORKDIR /app

# Install pnpm
RUN npm i -g pnpm@8.6.10
RUN npm i -g pnpm@9.4.0

# Copy root package.json + pnpm-lock.yaml + pnpm-workspace.yaml
COPY pnpm-lock.yaml package.json pnpm-workspace.yaml ./
Expand Down
4 changes: 2 additions & 2 deletions apps/issuer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM blockchain-lab-um/oid4vc-monorepo:latest as builder

FROM node:18.16.0-alpine3.16
FROM node:20.15.0-alpine3.16

WORKDIR /app

# Install pnpm
RUN npm i -g pnpm@8.6.10
RUN npm i -g pnpm@9.4.0

COPY --from=builder /app/pnpm-lock.yaml ./pnpm-lock.yaml
COPY --from=builder /app/pnpm-workspace.yaml ./pnpm-workspace.yaml
Expand Down
4 changes: 2 additions & 2 deletions apps/verifier/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM blockchain-lab-um/oid4vc-monorepo:latest as builder

FROM node:18.16.0-alpine3.16
FROM node:20.15.0-alpine3.16

WORKDIR /app

# Install pnpm
RUN npm i -g pnpm@8.6.10
RUN npm i -g pnpm@9.4.0

COPY --from=builder /app/pnpm-lock.yaml ./pnpm-lock.yaml
COPY --from=builder /app/pnpm-workspace.yaml ./pnpm-workspace.yaml
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,16 @@
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
},
"packageManager": "pnpm@8.6.10",
"packageManager": "pnpm@9.4.0",
"engines": {
"node": ">=18.16.0"
"node": ">=20.15.0"
},
"volta": {
"node": "18.16.0",
"pnpm": "8.6.10"
"node": "20.15.0",
"pnpm": "9.4.0"
},
"pnpm": {
"patchedDependencies": {},
"allowNonAppliedPatches": true
}
}
}
Loading

0 comments on commit c0744fd

Please sign in to comment.