From b6dbfb7d5c8f6d73379087f5b3f21fa1c86265d8 Mon Sep 17 00:00:00 2001 From: Sergey Romanenko Date: Tue, 4 Jun 2024 13:44:50 +0300 Subject: [PATCH] chore: setup release docs action --- .github/workflows/release-docs.yaml | 14 +++++++------- .github/workflows/release-package-dev.yaml | 16 ++++++++-------- .github/workflows/release-package-next.yaml | 16 ++++++++-------- .github/workflows/release-package.yaml | 16 ++++++++-------- .github/workflows/run-checks.yaml | 14 +++++++------- 5 files changed, 38 insertions(+), 38 deletions(-) diff --git a/.github/workflows/release-docs.yaml b/.github/workflows/release-docs.yaml index a7d35fe..137b0c6 100644 --- a/.github/workflows/release-docs.yaml +++ b/.github/workflows/release-docs.yaml @@ -2,7 +2,7 @@ name: Release Docs on: release: - types: [published] + types: [published, updated] permissions: @@ -19,11 +19,11 @@ jobs: name: Install Dependencies runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 cache: 'npm' @@ -35,7 +35,7 @@ jobs: run: npm run barrel - name: Share prepared workspace with other jobs - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "workspace:${{github.sha}}" path: ./ @@ -47,7 +47,7 @@ jobs: - install_dependencies steps: - name: Download prepared workspace - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "workspace:${{github.sha}}" path: ./ @@ -58,7 +58,7 @@ jobs: cp ./docs/index.html ./docs/404.html - name: Share prepared dist with other jobs - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "docs:${{github.sha}}" path: ./docs @@ -73,7 +73,7 @@ jobs: - static_files steps: - name: Download prepared workspace - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "docs:${{github.sha}}" path: ./docs diff --git a/.github/workflows/release-package-dev.yaml b/.github/workflows/release-package-dev.yaml index 79d9729..3d2d351 100644 --- a/.github/workflows/release-package-dev.yaml +++ b/.github/workflows/release-package-dev.yaml @@ -7,11 +7,11 @@ jobs: name: Install Dependencies runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 cache: 'npm' @@ -23,7 +23,7 @@ jobs: run: npm run barrel - name: Share prepared workspace with other jobs - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "workspace:${{github.sha}}" path: ./ @@ -34,7 +34,7 @@ jobs: needs: [ install_dependencies ] steps: - name: Download prepared workspace - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "workspace:${{github.sha}}" path: ./ @@ -43,7 +43,7 @@ jobs: run: npm run build - name: Share prepared dist with other jobs - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "dist:${{github.sha}}" path: ./dist @@ -54,19 +54,19 @@ jobs: needs: [ static_files ] steps: - name: Download prepared workspace - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "workspace:${{github.sha}}" path: ./ - name: Download prepared dist - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "dist:${{github.sha}}" path: ./dist - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: always-auth: true node-version: 18 diff --git a/.github/workflows/release-package-next.yaml b/.github/workflows/release-package-next.yaml index c458629..b5504b0 100644 --- a/.github/workflows/release-package-next.yaml +++ b/.github/workflows/release-package-next.yaml @@ -10,11 +10,11 @@ jobs: name: Install Dependencies runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 cache: 'npm' @@ -26,7 +26,7 @@ jobs: run: npm run barrel - name: Share prepared workspace with other jobs - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "workspace:${{github.sha}}" path: ./ @@ -37,7 +37,7 @@ jobs: needs: [ install_dependencies ] steps: - name: Download prepared workspace - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "workspace:${{github.sha}}" path: ./ @@ -46,7 +46,7 @@ jobs: run: npm run build - name: Share prepared dist with other jobs - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "dist:${{github.sha}}" path: ./dist @@ -57,19 +57,19 @@ jobs: needs: [ static_files ] steps: - name: Download prepared workspace - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "workspace:${{github.sha}}" path: ./ - name: Download prepared dist - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "dist:${{github.sha}}" path: ./dist - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: always-auth: true node-version: 18 diff --git a/.github/workflows/release-package.yaml b/.github/workflows/release-package.yaml index 8480ff5..e6faf57 100644 --- a/.github/workflows/release-package.yaml +++ b/.github/workflows/release-package.yaml @@ -9,9 +9,9 @@ jobs: name: Install Dependencies runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 cache: 'npm' @@ -23,7 +23,7 @@ jobs: run: npm run barrel - name: Share prepared workspace with other jobs - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "workspace:${{github.sha}}" path: ./ @@ -34,7 +34,7 @@ jobs: needs: [ install_dependencies ] steps: - name: Download prepared workspace - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "workspace:${{github.sha}}" path: ./ @@ -43,7 +43,7 @@ jobs: run: npm run build - name: Share prepared dist with other jobs - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "dist:${{github.sha}}" path: ./dist @@ -54,19 +54,19 @@ jobs: needs: [ static_files ] steps: - name: Download prepared workspace - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "workspace:${{github.sha}}" path: ./ - name: Download prepared dist - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "dist:${{github.sha}}" path: ./dist - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: always-auth: true node-version: 18 diff --git a/.github/workflows/run-checks.yaml b/.github/workflows/run-checks.yaml index b565835..6c1f052 100644 --- a/.github/workflows/run-checks.yaml +++ b/.github/workflows/run-checks.yaml @@ -13,9 +13,9 @@ jobs: name: Install Dependencies runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 cache: 'npm' @@ -27,7 +27,7 @@ jobs: run: npm run barrel - name: Share prepared workspace with other jobs - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "workspace:${{github.sha}}" path: ./ @@ -38,7 +38,7 @@ jobs: needs: [ install_dependencies ] steps: - name: Download prepared workspace - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "workspace:${{github.sha}}" path: ./ @@ -52,7 +52,7 @@ jobs: needs: [ install_dependencies ] steps: - name: Download prepared workspace - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "workspace:${{github.sha}}" path: ./ @@ -66,7 +66,7 @@ jobs: needs: [ install_dependencies ] steps: - name: Download prepared workspace - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "workspace:${{github.sha}}" path: ./ @@ -80,7 +80,7 @@ jobs: needs: [ install_dependencies ] steps: - name: Download prepared workspace - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "workspace:${{github.sha}}" path: ./