fix: redistest mongotest ver #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build with 1GB | |
on: [push] | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/[email protected] | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
- run: NODE_ENV=production pnpm i --frozen-lockfile | |
- run: NODE_ENV=production NODE_OPTIONS=--max-old-space-size=464 pnpm run build | |
- run: ls built/meta.json | |