Skip to content

Commit

Permalink
Increase memory
Browse files Browse the repository at this point in the history
  • Loading branch information
mxiao-cll committed Nov 19, 2024
1 parent 858f851 commit a5ed18b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- run: yarn prettier --check "**/*.{ts,md}"
test:
concurrency: test-${{ github.ref }}
runs-on: ubuntu-latest
runs-on: ubuntu-latest-4cores-16GB
if: ${{ !startsWith(github.head_ref, 'version-bump') }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"lint-fix": "eslint --max-warnings=0 --fix . && prettier --write ./src/**/*.ts ./test/**/*.ts ./*.{json,js,yaml}",
"lint": "eslint --max-warnings=0 . && prettier --check ./src/**/*.ts ./test/**/*.ts ./*.{json,js,yaml}",
"portal-path": "echo \"portal:$(readlink -f ./dist/src)\"",
"test-debug": "EA_HOST=localhost LOG_LEVEL=trace DEBUG=true EA_PORT=0 c8 ava --verbose",
"test": "EA_HOST=localhost LOG_LEVEL=error EA_PORT=0 c8 ava",
"test-debug": "EA_HOST=localhost LOG_LEVEL=trace DEBUG=true EA_PORT=0 NODE_OPTIONS=--max_old_space_size=8192 c8 ava --verbose",
"test": "EA_HOST=localhost LOG_LEVEL=error EA_PORT=0 NODE_OPTIONS=--max_old_space_size=8192 c8 ava",
"verify": "yarn lint && yarn build && yarn build -p ./test/tsconfig.json && yarn test && yarn code-coverage",
"code-coverage": "c8 check-coverage --statements 95 --lines 95 --functions 95 --branches 90"
},
Expand Down Expand Up @@ -73,10 +73,10 @@
"require": [
"ts-node/register"
],
"workerThreads": false,
"environmentVariables": {
"METRICS_ENABLED": "false"
},
"concurrency": 10,
"timeout": "20s"
}
}

0 comments on commit a5ed18b

Please sign in to comment.