From 762a93679361ee05947adc5c7b29ee641b8b8f3b Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Wed, 14 Dec 2022 11:06:39 +0100 Subject: [PATCH] ci: disable GitHub Actions --- .github/_workflows/README.md | 1 + .github/{workflows => _workflows}/ci.yml | 0 .../{workflows => _workflows}/semantic-pull-request.yml | 0 netlify.toml | 8 ++------ 4 files changed, 3 insertions(+), 6 deletions(-) create mode 100644 .github/_workflows/README.md rename .github/{workflows => _workflows}/ci.yml (100%) rename .github/{workflows => _workflows}/semantic-pull-request.yml (100%) diff --git a/.github/_workflows/README.md b/.github/_workflows/README.md new file mode 100644 index 00000000..02296ace --- /dev/null +++ b/.github/_workflows/README.md @@ -0,0 +1 @@ +GitHub Actions is temporary disabled as we are reaching the usage limit as a private repo. Tests have been moved to Netlify pipeline as an workaround. We shall recover this once we open up. diff --git a/.github/workflows/ci.yml b/.github/_workflows/ci.yml similarity index 100% rename from .github/workflows/ci.yml rename to .github/_workflows/ci.yml diff --git a/.github/workflows/semantic-pull-request.yml b/.github/_workflows/semantic-pull-request.yml similarity index 100% rename from .github/workflows/semantic-pull-request.yml rename to .github/_workflows/semantic-pull-request.yml diff --git a/netlify.toml b/netlify.toml index 618ab7ea..d6f1f50a 100755 --- a/netlify.toml +++ b/netlify.toml @@ -1,10 +1,6 @@ -[build.environment] - NPM_FLAGS = "--version" - NODE_VERSION = "16" - [build] publish = "dist" - command = "npx pnpm i --store=node_modules/.pnpm-store && npx pnpm run build" + command = "pnpm run build && pnpm run test && pnpm run lint && pnpm test:typecheck" # Redirect to Discord server [[redirects]] @@ -16,4 +12,4 @@ [[redirects]] from = "/*" to = "/index.html" - status = 200 \ No newline at end of file + status = 200