-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* sanity * keep around generated files for build * wip * add test coverage * env * pathing * path
- Loading branch information
Showing
18 changed files
with
901 additions
and
22 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: NestJS Core CI | ||
|
||
on: | ||
push: | ||
branches: ['main'] | ||
pull_request: | ||
branches: ['main'] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: lts/* | ||
cache: 'npm' | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Lint | ||
run: npm run lint | ||
test: | ||
runs-on: ubuntu-latest | ||
needs: lint | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Node.js lts | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: lts/* | ||
cache: 'npm' | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: env | ||
run: cp ./.env.test.example ./.env.test | ||
- name: Test | ||
run: npm run test:cov | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
needs: [lint, test] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js lts | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: lts/* | ||
cache: 'npm' | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Build | ||
run: npm run build |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,6 @@ yarn-debug.log* | |
yarn-error.log* | ||
lerna-debug.log* | ||
|
||
# Generated files | ||
/generated | ||
|
||
# OS | ||
.DS_Store | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
/* DO NOT EDIT, file generated by nestjs-i18n */ | ||
|
||
/* eslint-disable */ | ||
/* prettier-ignore */ | ||
import { Path } from "nestjs-i18n"; | ||
/* prettier-ignore */ | ||
export type I18nTranslations = { | ||
"about": { | ||
"title": string; | ||
"description": string; | ||
}; | ||
"auth": { | ||
"sign_in": { | ||
"title": string; | ||
"email": string; | ||
"password": string; | ||
"sign_in": string; | ||
"forgot_password": string; | ||
"no_account": string; | ||
"google": string; | ||
"submit": string; | ||
}; | ||
"register": { | ||
"title": string; | ||
"email": string; | ||
"password": string; | ||
"confirm_password": string; | ||
"register": string; | ||
"already_have_account": string; | ||
"google": string; | ||
"submit": string; | ||
}; | ||
"forgot_password": { | ||
"title": string; | ||
"email": string; | ||
"forgot_pass": string; | ||
"remember_password": string; | ||
"no_account": string; | ||
"submit": string; | ||
}; | ||
}; | ||
"contact": { | ||
"title": string; | ||
"description": string; | ||
}; | ||
"meta": { | ||
"title": string; | ||
"description": string; | ||
}; | ||
"privacy": { | ||
"title": string; | ||
"description": string; | ||
}; | ||
"root": { | ||
"links": { | ||
"home": string; | ||
"about": string; | ||
"contact": string; | ||
"privacy": string; | ||
"tou": string; | ||
"sign_in": string; | ||
"register": string; | ||
"profile": string; | ||
}; | ||
"app_name": string; | ||
"welcome": string; | ||
"description": string; | ||
}; | ||
"tou": { | ||
"title": string; | ||
"description": string; | ||
}; | ||
"main": { | ||
"links": { | ||
"home": string; | ||
"about": string; | ||
"contact": string; | ||
"privacy": string; | ||
"tou": string; | ||
}; | ||
"app_name": string; | ||
"welcome": string; | ||
"description": string; | ||
}; | ||
}; | ||
/* prettier-ignore */ | ||
export type I18nPath = Path<I18nTranslations>; |
Oops, something went wrong.