Skip to content

Commit

Permalink
Upgrading to Node v18 (#798)
Browse files Browse the repository at this point in the history
* Update GHA to use Node 18

* Update amplify build settings to build the app with Node 18.13
  • Loading branch information
dr-bizz authored Oct 12, 2023
1 parent fe13032 commit 4696772
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- name: 📦 Install Dependencies
run: yarn install --immutable --immutable-cache
- id: set-test-chunks
Expand All @@ -46,7 +46,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- name: 📦 Install Dependencies
run: yarn install --immutable --immutable-cache
- name: 📈 Run GraphQL Codegen
Expand All @@ -69,7 +69,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- name: 📦 Install Dependencies
run: yarn install --immutable --immutable-cache
- name: 📈 Run GraphQL Codegen
Expand All @@ -85,7 +85,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- name: 📦 Install Dependencies
run: yarn install --immutable --immutable-cache
- name: 📈 Run GraphQL Codegen
Expand All @@ -101,7 +101,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- name: 📦 Install Dependencies
run: yarn install --immutable --immutable-cache
- name: 💅 Prettier Check
Expand All @@ -125,7 +125,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- name: 📦 Install Dependencies
run: yarn install --immutable --immutable-cache
- name: ⛅🔼 OneSky Upload
Expand Down
4 changes: 2 additions & 2 deletions amplify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ frontend:
phases:
preBuild:
commands:
- nvm install 16.16.0
- nvm use 16.16.0
- nvm install 18.13
- nvm use 18.13
- echo $secrets
- echo "NEXTAUTH_URL=$NEXTAUTH_URL" >> .env
- echo "NODE_ENV=$NODE_ENV" >> .env
Expand Down

0 comments on commit 4696772

Please sign in to comment.