mirror of
https://github.com/barkeser2002/node-minecraft-protocol.git
synced 2026-09-25 09:10:11 +03:00
* increase vanilla server ram in tests * add more logs * handle client error properly * don't wait for chat to be sent back from the server to wait 10s in clientTest
23 lines
638 B
YAML
23 lines
638 B
YAML
version: 2
|
|
|
|
jobs:
|
|
build:
|
|
environment:
|
|
MC_SERVER_JAR_DIR: /home/circleci/PrismarineJS/node-minecraft-protocol/minecraft-server/
|
|
parallelism: 4
|
|
docker:
|
|
- image: circleci/openjdk:8-node
|
|
steps:
|
|
- run: node --version
|
|
- run: java -version
|
|
- checkout
|
|
- restore_cache:
|
|
key: dependency-cache-{{ checksum "package.json" }}
|
|
- run: npm i
|
|
- save_cache:
|
|
key: dependency-cache-{{ checksum "package.json" }}
|
|
paths:
|
|
- ./node_modules
|
|
- run: mkdir -p /home/circleci/PrismarineJS/node-minecraft-protocol/minecraft-server/
|
|
- run: npm test
|