From b29eb7b2bbbdc4714d15a9c5c4133d5a42b0b802 Mon Sep 17 00:00:00 2001 From: bogdan-rosianu <51945539+bogdan-rosianu@users.noreply.github.com> Date: Thu, 8 Feb 2024 14:39:51 +0200 Subject: [PATCH] remove sdk nestjs redirects + add build workflow (#823) * remove sdk nestjs redirects + add build workflow * fix workflow conditions * use current branch in workflow --- .github/workflows/test-build.yml | 20 ++++++++++++++++++++ docusaurus.config.js | 8 -------- 2 files changed, 20 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/test-build.yml diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml new file mode 100644 index 000000000..c82735fb4 --- /dev/null +++ b/.github/workflows/test-build.yml @@ -0,0 +1,20 @@ +name: test-build + +on: + pull_request: + branches: [main, development] + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Use Node.js + uses: actions/setup-node@v1 + with: + node-version: "16.x" + - name: Install packages + run: npm install + - name: Build website + run: npm run build diff --git a/docusaurus.config.js b/docusaurus.config.js index 305083889..9ff5cdedf 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -215,14 +215,6 @@ const config = { from: "/sdk-and-tools/dapp-core", to: "/sdk-and-tools/sdk-dapp", }, - { - from: "/sdk-and-tools/sdk-nestjs", - to: "/sdk-and-tools/sdk-nestjs/sdk-nestjs" - }, - { - from: "/sdk-and-tools/erdnest", - to: "/sdk-and-tools/sdk-nestjs/sdk-nestjs" - }, { from: "/validators/staking-providers-apr", to: "/economics/staking-providers-apr",