From 4693c8fc91d8f8a1cb3cdff80ec46a5fc6b4db2b Mon Sep 17 00:00:00 2001 From: Pavel Kirilin Date: Sun, 3 Dec 2023 14:26:20 +0100 Subject: [PATCH 1/2] Added AUX worflow for building docs. Signed-off-by: Pavel Kirilin --- .github/workflows/testwf.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/testwf.yml diff --git a/.github/workflows/testwf.yml b/.github/workflows/testwf.yml new file mode 100644 index 0000000..07f1e06 --- /dev/null +++ b/.github/workflows/testwf.yml @@ -0,0 +1,21 @@ +name: AUX workflow + +on: + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup pnpm + uses: pnpm/action-setup@v2 + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: 18 + cache: pnpm + - name: Install deps + run: pnpm install + - name: Build + run: pnpm docs:build -d docs_dist From de522287105e611c188d92e0b78ffcbc3f406047 Mon Sep 17 00:00:00 2001 From: Pavel Kirilin Date: Sun, 3 Dec 2023 14:43:25 +0100 Subject: [PATCH 2/2] Fixed docs workflow. Signed-off-by: Pavel Kirilin --- .github/workflows/release.yml | 17 ++++++----------- .github/workflows/testwf.yml | 21 --------------------- 2 files changed, 6 insertions(+), 32 deletions(-) delete mode 100644 .github/workflows/testwf.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a6a10b7..9290bd9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,23 +9,18 @@ jobs: deploy_docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - - name: Install pnpm + - uses: actions/checkout@v4 + - name: Setup pnpm uses: pnpm/action-setup@v2 - with: - version: 7 - run_install: true - - name: Setup Node.js uses: actions/setup-node@v3 with: node-version: 18 cache: pnpm - - - name: Build docs - run: |- - pnpm docs:build -d docs_dist + - name: Install deps + run: pnpm install + - name: Build + run: pnpm docs:build -d docs_dist - name: Setup git run: | diff --git a/.github/workflows/testwf.yml b/.github/workflows/testwf.yml deleted file mode 100644 index 07f1e06..0000000 --- a/.github/workflows/testwf.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: AUX workflow - -on: - pull_request: - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Setup pnpm - uses: pnpm/action-setup@v2 - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: 18 - cache: pnpm - - name: Install deps - run: pnpm install - - name: Build - run: pnpm docs:build -d docs_dist