diff --git a/.github/workflows/oci.yaml b/.github/workflows/oci.yaml index 9df7377a..2769198e 100644 --- a/.github/workflows/oci.yaml +++ b/.github/workflows/oci.yaml @@ -22,8 +22,8 @@ jobs: # execute commands script: | cd ~/matheditor - echo "Creating a backup of the current build..." - cp -r .next temp + echo "Copying cache..." + cp -r .next/cache temp/cache echo "Pulling latest changes..." git fetch git reset --hard origin/master @@ -32,8 +32,8 @@ jobs: npx prisma migrate deploy echo "Building to temp directory..." BUILD_DIR=temp npm run build || exit - if [ ! -d "temp" ]; then - echo '\033[31m temp Directory not exists!\033[0m' + if [ ! -f "temp/BUILD_ID" ]; then + echo '\033[31m Build failed!\033[0m' exit 1; fi echo "Switching live directory..." diff --git a/src/editor/theme.css b/src/editor/theme.css index 3927828c..dfa1735a 100644 --- a/src/editor/theme.css +++ b/src/editor/theme.css @@ -205,6 +205,7 @@ min-width: 75px; max-width: 200px; padding: 8px; + text-align: start; position: relative; outline: none; height: inherit; @@ -225,10 +226,6 @@ overflow: inherit; } -.LexicalTheme__tableCellHeader { - text-align: start; -} - .LexicalTheme__tableCellSelected { caret-color: transparent; } diff --git a/tsconfig.json b/tsconfig.json index dbe19160..2ab1a2c3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -30,14 +30,18 @@ ], "@public/*": [ "./public/*" - ], + ] } }, "include": [ - "next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", + "next-env.d.ts", + "temp/types/**/*.ts" ], - "exclude": ["node_modules", ".next"] + "exclude": [ + "node_modules", + ".next" + ] }