Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

pr05 Typescript Migration #17: Add typecheck to ci #3699

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

Merged
raclim merged 3 commits into processing:develop from clairep94:add_typecheck_to_ci
Oct 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions .github/workflows/test.yml
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ jobs:
name: Test and lint code base
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '18.20.x'
- run: npm install
- run: npm run test
- run: npm run lint


- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '18.20.x'
- run: npm install
- run: npm run test
- run: npm run typecheck
- run: npm run lint
3 changes: 2 additions & 1 deletion server/routes/passport.routes.ts
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Router, Request, Response, NextFunction } from 'express';
import passport from 'passport';
import { UserDocument } from '../types';

const router = Router();

Expand All @@ -11,7 +12,7 @@ const authenticateOAuth = (service: string) => (
passport.authenticate(
service,
{ failureRedirect: '/login' },
(err: unknown, user: unknown) => {
(err: unknown, user: UserDocument) => {
if (err) {
// use query string param to show error;
res.redirect(`/account?error=${service}`);
Expand Down
Loading

AltStyle によって変換されたページ (->オリジナル) /