Skip to content

Commit

Permalink
Enforce node version 20 due to Vercel limitation
Browse files Browse the repository at this point in the history
  • Loading branch information
wcalderipe committed Nov 19, 2024
1 parent cbd5b7d commit eb78a41
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/armory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
- name: Install node.js
uses: actions/setup-node@v4
with:
node-version: '21'
node-version: '20'
cache: 'npm'

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/packages-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Install node.js
uses: actions/setup-node@v4
with:
node-version: '21'
node-version: '20'
registry-url: https://registry.npmjs.org/
cache: 'npm'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Install node.js
uses: actions/setup-node@v4
with:
node-version: '21'
node-version: '20'
cache: 'npm'

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/policy-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Install node.js
uses: actions/setup-node@v4
with:
node-version: '21'
node-version: '20'
cache: 'npm'

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vault.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Install node.js
uses: actions/setup-node@v4
with:
node-version: '21'
node-version: '20'
cache: 'npm'

- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions deploy/armory.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:21 as build
FROM node:20 as build

# Set the working directory
WORKDIR /usr/src/app
Expand All @@ -19,7 +19,7 @@ RUN make armory/db/generate-types && \
make armory/build && \
rm -rf apps/ && rm -rf packages/

FROM node:21 as final
FROM node:20 as final

WORKDIR /usr/src/app

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "v0.0.13",
"license": "MPL-2.0",
"engines": {
"node": ">=21.0.0"
"node": "^20.0.0"
},
"workspaces": [
"packages/*"
Expand Down

0 comments on commit eb78a41

Please sign in to comment.