Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update test-docs.yaml #535

Closed
wants to merge 9 commits into from
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: "16"
node-version: "18"
cache: npm
- name: Build Docusaurus website
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: "16"
node-version: "18"
cache: npm
- name: Build Docusaurus website
run: |
npm ci
npm run doc:build
npm run doc:build
5 changes: 3 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: "16"
node-version: "18"
cache: npm
- name: test
run: |
npm install
npm run lint
npm run test:cov
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions samples/simple/src/app.controller.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Body, Controller, Get, Post } from '@nestjs/common';
import { AppService } from './app.service';
import { Controller, Get } from '@nestjs/common';
import { I18n, I18nContext } from 'nestjs-i18n';
import { AppService } from './app.service';

@Controller()
export class AppController {
Expand Down
Loading