Skip to content

Commit

Permalink
fix build scripts; update gh workflow (#3)
Browse files Browse the repository at this point in the history
* revert setup-node action to v3 because of slow post action step

see issue:
actions/setup-node#878

* fix build commands
  • Loading branch information
sitek94 authored Nov 26, 2023
1 parent 664e609 commit 87bc81c
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 33 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
version: 8

- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v3
with:
node-version: 20
cache: pnpm
Expand All @@ -75,7 +75,7 @@ jobs:
version: 8

- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v3
with:
node-version: 20
cache: pnpm
Expand All @@ -100,7 +100,7 @@ jobs:
version: 8

- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v3
with:
node-version: 20
cache: pnpm
Expand All @@ -125,7 +125,7 @@ jobs:
version: 8

- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v3
with:
node-version: 20
cache: pnpm
Expand All @@ -150,7 +150,7 @@ jobs:
version: 8

- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v3
with:
node-version: 20
cache: pnpm
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ dist
build
public/build
.next
**/*.tsbuildinfo

## Monorepo
.turbo
Expand Down
16 changes: 14 additions & 2 deletions apps/nestjs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
{
"extends": "@repo/tsconfig/nest.json",
"include": ["**/*.ts", "jest.config.js"],
"exclude": ["node_modules", "build"],
"compilerOptions": {
"module": "commonjs",
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"outDir": "./build",
"incremental": true,
"strictNullChecks": false,
"noImplicitAny": false,
"strictBindCallApply": false,
"noFallthroughCasesInSwitch": false,
"resolveJsonModule": true,
"baseUrl": "./",
"paths": {
"~/*": ["./src/*"]
Expand Down
9 changes: 5 additions & 4 deletions libs/tsconfig/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,23 @@
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Default",
"compilerOptions": {
"outDir": "./build",
"target": "esnext",
"module": "esnext",
"allowJs": true,
"composite": false,
"declaration": true,
"declarationMap": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"allowImportingTsExtensions": true,
"noEmit": true,
"inlineSources": false,
"isolatedModules": true,
"moduleResolution": "node",
"noUnusedLocals": false,
"noUnusedParameters": false,
"preserveWatchOutput": true,
"skipLibCheck": true,
"strict": true,
"strictNullChecks": true
"strict": true
},
"exclude": ["node_modules"]
}
22 changes: 0 additions & 22 deletions libs/tsconfig/nest.json

This file was deleted.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"private": true,
"scripts": {
"build": "turbo run build",
"build:nestjs": "turbo run build -F nestjs...",
"build:remix": "turbo run build -F remix... build",
"deploy:nestjs": "fly deploy --config ./apps/nestjs/fly.toml --dockerfile ./apps/nestjs/Dockerfile",
"deploy:remix": "fly deploy --config ./apps/remix/fly.toml --dockerfile ./apps/remix/Dockerfile",
"develop:docs": "turbo run develop --filter docs",
Expand Down

0 comments on commit 87bc81c

Please sign in to comment.