Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
chore(build): @permaweb/aoconnect reccomends using npm, but we use yarn
Browse files Browse the repository at this point in the history
Adding --ignore-engines to avoid failing builds
dtfiedler committed Jul 16, 2024
1 parent 4e949a5 commit 5c19db2
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ jobs:
with:
node-version-file: .nvmrc
cache: 'yarn'
- run: yarn --immutable --immutable-cache
- run: yarn --immutable --immutable-cache --ignore-engines
- run: yarn
- run: yarn ${{ matrix.step }}

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ FROM node:${NODE_VERSION}-bullseye-slim AS builder
# Build
WORKDIR /app
COPY . .
RUN yarn && yarn build
RUN yarn --ignore-engines && yarn build
RUN rm-rf node_modules & yarn install --force

# Runtime
2 changes: 1 addition & 1 deletion src/system.ts
Original file line number Diff line number Diff line change
@@ -42,7 +42,7 @@ export const contract: AoIORead = IO.init({
processId: config.IO_PROCESS_ID,
ao: connect({
// @permaweb/aoconnect defaults will be used if these are not provided
MU_URL: config.AO_CU_URL,
MU_URL: config.AO_MU_URL,
CU_URL: config.AO_CU_URL,
GRAPHQL_URL: config.AO_GATEWAY_URL,
GATEWAY_URL: config.AO_GATEWAY_URL,

0 comments on commit 5c19db2

Please sign in to comment.