diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e72dc8dcc1511466fbe008f110e0439c3c8bf1f4..b66e233f888cca147b3c12552fa2bfb3b55303e6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,45 +1,23 @@ +include: + - project: "arise/ci-cd" + file: "node/pnpm/build.gitlab-ci.yml" + - project: "arise/ci-cd" + file: "node/pnpm/lint.gitlab-ci.yml" + - project: "arise/ci-cd" + file: "node/pnpm/check.gitlab-ci.yml" + stages: - build - test - deploy -# This folder is cached between builds -# https://docs.gitlab.com/ee/ci/yaml/index.html#cache -cache: - paths: - - node_modules/ - -.pnpm: - image: node:20 - before_script: - - corepack enable - - pnpm install - # Check for dependencies issues - - pnpm install --resolution-only --no-frozen-lockfile - build: - stage: build - extends: .pnpm - script: - - pnpm package artifacts: untracked: false when: on_success paths: - dist/* -lint: - stage: test - extends: .pnpm - script: - - pnpm lint - -check: - stage: test - extends: .pnpm - script: - - pnpm check - publish-npm: stage: deploy extends: .pnpm diff --git a/src/auth.ts b/src/auth.ts index 39f9c12be65d88a5c5ccc5d30e68df1a7c673651..ea8968ad40cd2ad718cb7f6b103a56ff0f13d1ee 100644 --- a/src/auth.ts +++ b/src/auth.ts @@ -7,4 +7,5 @@ export const aidc = await AriseIdConnect.init({ client_secret: env.AIDC_CLIENT_SECRET, scope: "openid offline profile", wrapper: defaultLucia, + // issuer: "http://localhost:4444/.well-known/openid-configuration" }); diff --git a/src/index.test.ts b/src/index.test.ts deleted file mode 100644 index dadc7e4cee8556d88a08de3725bcef66a1e75c47..0000000000000000000000000000000000000000 --- a/src/index.test.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { describe, it, expect } from "vitest"; - -describe("sum test", () => { - it("adds 1 + 2 to equal 3", () => { - expect(1 + 2).toBe(3); - }); -});