From 69a1f60c4c9cd0bbc9d1e7bd7d257e0e6ca09eff Mon Sep 17 00:00:00 2001 From: Frank Date: Tue, 3 Dec 2024 11:34:03 -0500 Subject: [PATCH] fix release --- .github/workflows/release.yml | 2 +- packages/sst/src/node/auth/session.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d6aba3dc9..742d5aa39 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,7 +43,7 @@ jobs: ${{ runner.os }}-pnpm-store- - name: Install dependencies - run: pnpm install --frozen-lockfile + run: pnpm install --frozen-lockfile=false - name: Check prettier run: pnpm prettier --cache -c --loglevel=error . diff --git a/packages/sst/src/node/auth/session.ts b/packages/sst/src/node/auth/session.ts index 7a2cc9121..2bab271db 100644 --- a/packages/sst/src/node/auth/session.ts +++ b/packages/sst/src/node/auth/session.ts @@ -129,6 +129,7 @@ export function cookie(input: { }): APIGatewayProxyStructuredResultV2 { const token = create(input); const expires = new Date( + // @ts-ignore error in GH action Date.now() + (input.options?.expiresIn || 1000 * 60 * 60 * 24 * 7) ); return {