From 600af2fe835a3e486dd1a984af8e083eb0d7f2ec Mon Sep 17 00:00:00 2001 From: Arno V Date: Fri, 28 Jun 2024 09:10:41 -0400 Subject: [PATCH] feat: adding common constant for refresh token (#53) * feat: adding common constant for refresh token * trying to fix the broken build again --- .github/workflows/pull-requests.yml | 6 +++--- .github/workflows/release-please.yml | 2 +- packages/auth-common/src/components/constants.ts | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pull-requests.yml b/.github/workflows/pull-requests.yml index 9cb7d2b..3946f760 100644 --- a/.github/workflows/pull-requests.yml +++ b/.github/workflows/pull-requests.yml @@ -25,7 +25,7 @@ jobs: node-version: ${{ matrix.node-version }} - uses: pnpm/action-setup@v4 - run: | - pnpm install + pnpm install --ignore-scripts npx lerna run build npx lerna run stats:pr npx lerna run stats:report @@ -51,7 +51,7 @@ jobs: node-version: ${{ matrix.node-version }} - uses: pnpm/action-setup@v4 - run: | - pnpm install + pnpm install --ignore-scripts npx lerna run lint npx lerna run build npx lerna run test:coverage @@ -86,7 +86,7 @@ jobs: node-version: ${{ matrix.node-version }} - uses: pnpm/action-setup@v4 - run: | - pnpm install + pnpm install --ignore-scripts npx lerna run build npx lerna run stats:release - name: Commit Release Stats diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 7878f46..d892d2b 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -37,7 +37,7 @@ jobs: - name: Build Packages if: ${{ steps.release.outputs.releases_created }} run: | - pnpm install + pnpm install --ignore-scripts npx lerna run build # Release Please has already incremented versions diff --git a/packages/auth-common/src/components/constants.ts b/packages/auth-common/src/components/constants.ts index 89652a6..be0993e 100644 --- a/packages/auth-common/src/components/constants.ts +++ b/packages/auth-common/src/components/constants.ts @@ -3,6 +3,7 @@ export const AUTH_TYPES = { ACCESS_TOKEN: "token", ID_AND_ACCESS_TOKEN: "id_token token", CODE: "code", + REFRESH_TOKEN: "refresh_token", }; export const HEADERS = {