diff --git a/.github/workflows/api-release.yml b/.github/workflows/api-release.yml index 8dd9ed379..8c207e179 100644 --- a/.github/workflows/api-release.yml +++ b/.github/workflows/api-release.yml @@ -66,4 +66,4 @@ jobs: - uses: superfly/flyctl-actions/setup-flyctl@master - run: flyctl deploy --remote-only env: - FLY_API_TOKEN: ${{ secrets.BUILDEL_API-FLY_API_TOKEN }} + FLY_API_TOKEN: ${{ secrets.BUILDEL_API__FLY_API_TOKEN }} diff --git a/.github/workflows/web-test.yml b/.github/workflows/web-test.yml new file mode 100644 index 000000000..a1e045538 --- /dev/null +++ b/.github/workflows/web-test.yml @@ -0,0 +1,28 @@ +name: Web Test +on: + push: + branches: + - main + paths: + - 'apps/web-remix/**' + +defaults: + run: + working-directory: apps/web-remix + +jobs: + test: + name: Test + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v2 + with: + version: 8.15.3 + - uses: actions/setup-node@v4 + with: + node-version: '21.6.2' + cache: 'pnpm' + - run: pnpm install + - run: pnpm test diff --git a/apps/web-remix/app/components/pages/auth/register/__tests__/register.test.tsx b/apps/web-remix/app/components/pages/auth/register/__tests__/register.test.tsx index 0303605e1..9c3bb9530 100644 --- a/apps/web-remix/app/components/pages/auth/register/__tests__/register.test.tsx +++ b/apps/web-remix/app/components/pages/auth/register/__tests__/register.test.tsx @@ -6,8 +6,8 @@ import { InputHandle } from "~/tests/handles/Input.handle"; import { render, screen, waitFor } from "~/tests/render"; import { server } from "~/tests/server.mock"; import { RegisterPage } from "../page"; -import { loader } from "../loader"; -import { action } from "../action"; +import { loader } from "../loader.server"; +import { action } from "../action.server"; import { errorHandlers, handlers } from "./register.handlers"; describe(RegisterPage.name, () => {