From d02789ee3a1973d84b49b1d85588d587278c06cf Mon Sep 17 00:00:00 2001 From: Davide Crestini Date: Sat, 3 Feb 2024 20:24:13 +0000 Subject: [PATCH 1/3] chore: testing shit out --- .github/workflows/ci.yaml | 4 +--- src/app/error.tsx | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7c25349..bb46542 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,7 +19,6 @@ jobs: run: npm install - name: Run typecheck run: npm run typecheck - lint: runs-on: ubuntu-latest needs: typecheck @@ -33,7 +32,6 @@ jobs: run: npm install - name: Run lint run: npm run lint - format: runs-on: ubuntu-latest needs: lint @@ -46,4 +44,4 @@ jobs: - name: Install dependencies run: npm install - name: Run prettier - run: npm run format + run: npm run format:check diff --git a/src/app/error.tsx b/src/app/error.tsx index 4d5e976..c10e387 100644 --- a/src/app/error.tsx +++ b/src/app/error.tsx @@ -4,6 +4,7 @@ export default function GenericError() { return (
{/* */} +

An error happened. Our devs have been informed and are already working towards a fix. Please try again soon. From 934dcf7a73ff9045a229c8b8793987f434991f57 Mon Sep 17 00:00:00 2001 From: Davide Crestini Date: Sat, 3 Feb 2024 20:40:36 +0000 Subject: [PATCH 2/3] chore: trying shit out with GH workflows --- .github/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bb46542..9ea3f64 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,6 +19,7 @@ jobs: run: npm install - name: Run typecheck run: npm run typecheck + lint: runs-on: ubuntu-latest needs: typecheck @@ -32,6 +33,7 @@ jobs: run: npm install - name: Run lint run: npm run lint + format: runs-on: ubuntu-latest needs: lint From 9ba1caef3f5badd3faa6aee31579a7a7061ca037 Mon Sep 17 00:00:00 2001 From: Davide Crestini Date: Sat, 3 Feb 2024 20:41:48 +0000 Subject: [PATCH 3/3] fix: made jobs parallel --- .github/workflows/ci.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9ea3f64..c1726fa 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -22,7 +22,6 @@ jobs: lint: runs-on: ubuntu-latest - needs: typecheck steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 @@ -36,7 +35,6 @@ jobs: format: runs-on: ubuntu-latest - needs: lint steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v3