diff --git a/Dockerfile.test b/Dockerfile.test new file mode 100644 index 00000000..71d8d0e4 --- /dev/null +++ b/Dockerfile.test @@ -0,0 +1,7 @@ +FROM node:22-alpine as build +WORKDIR /app + +COPY . . + +RUN yarn clean && yarn install +RUN yarn test:integration:local diff --git a/package.json b/package.json index 7d7c49d3..2f158ee1 100644 --- a/package.json +++ b/package.json @@ -70,6 +70,7 @@ "test": "yarn test:unit && yarn test:integration", "test:unit": "yarn clean && jest --config=jest.config.mjs", "test:integration": "yarn clean && docker compose up -d && jest --config=jest.integration.config.mjs --runInBand && docker compose down -v", + "test:integration:local": "yarn clean && jest --config=jest.integration.config.mjs --runInBand", "prepare": "husky install", "example:esm": "cd examples/esm && yarn && node index.mjs", "example:cjs": "cd examples/cjs && yarn && node index.cjs", @@ -115,7 +116,7 @@ }, "dependencies": { "arbundles": "0.11.0", - "arweave": "1.15.1", + "arweave": "1.14.4", "axios": "1.4.0", "bunyan": "^1.8.15", "warp-arbundles": "^1.0.4",