Skip to content

Commit

Permalink
feat: change node options in github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
braianj committed Jan 3, 2025
1 parent a6820f3 commit baa5f21
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/deploy_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ on:
- master

jobs:

build-push:
runs-on: ubuntu-20.04

env:
NODE_OPTIONS: "--max_old_space_size=4096"

outputs:
registry-path: ${{ steps.push-to-quay.outputs.registry-path }}
registry-paths: ${{ steps.push-to-quay.outputs.registry-paths }}
Expand All @@ -25,7 +28,7 @@ jobs:
with:
node-version: 18.x
registry-url: https://registry.npmjs.org/
cache: 'npm'
cache: "npm"

- name: installing
run: npm install
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ on:
- synchronize

jobs:

release:
runs-on: ubuntu-20.04

env:
NODE_OPTIONS: "--max_old_space_size=4096"

steps:
- uses: actions/checkout@v2

Expand All @@ -25,7 +27,7 @@ jobs:
with:
node-version: 18.x
registry-url: https://registry.npmjs.org/
cache: 'npm'
cache: "npm"

- name: installing
run: npm install
Expand Down
5 changes: 2 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"outDir": "lib" /* Redirect output structure to the directory. */,
"rootDir": "src" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */,
// "composite": true, /* Enable project compilation */
"tsBuildInfoFile": "./node_modules/.cache/.tsbuildinfo",
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
// "removeComments": true, /* Do not emit comments to output. */
// "noEmit": true, /* Do not emit outputs. */
// "importHelpers": true, /* Import emit helpers from 'tslib'. */
Expand Down Expand Up @@ -71,6 +71,5 @@
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
},
"include": ["src"],
"exclude": ["node_modules", "build", "dist", "coverage", "**/.*/"]
"include": ["src"]
}

0 comments on commit baa5f21

Please sign in to comment.