From 78559fb9889907a4510a2bde18b52bb31771b585 Mon Sep 17 00:00:00 2001 From: Andrey Morozov Date: Tue, 4 Jun 2024 23:07:15 +0300 Subject: [PATCH] ci: update actions --- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/main-preview.yml | 4 ++-- .github/workflows/pr-preview-build.yml | 2 +- .github/workflows/pr-preview-deploy.yml | 2 +- .github/workflows/pr-visual-tests-report.yml | 5 ++--- .github/workflows/pr-visual-tests.yml | 8 ++++---- 6 files changed, 16 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee2437af0..7ed99cded 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,9 +11,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 cache: npm @@ -29,9 +29,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 cache: npm @@ -45,9 +45,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 cache: npm diff --git a/.github/workflows/main-preview.yml b/.github/workflows/main-preview.yml index 8dce840cb..e76545ae6 100644 --- a/.github/workflows/main-preview.yml +++ b/.github/workflows/main-preview.yml @@ -10,9 +10,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 cache: npm diff --git a/.github/workflows/pr-preview-build.yml b/.github/workflows/pr-preview-build.yml index dff310eee..5d60fa5e1 100644 --- a/.github/workflows/pr-preview-build.yml +++ b/.github/workflows/pr-preview-build.yml @@ -8,6 +8,6 @@ jobs: name: Build runs-on: ubuntu-latest steps: - - uses: gravity-ui/preview-build-action@v1 + - uses: gravity-ui/preview-build-action@v2 with: node-version: 18 diff --git a/.github/workflows/pr-preview-deploy.yml b/.github/workflows/pr-preview-deploy.yml index d3a73b7ec..99c3bb31a 100644 --- a/.github/workflows/pr-preview-deploy.yml +++ b/.github/workflows/pr-preview-deploy.yml @@ -14,7 +14,7 @@ jobs: github.event.workflow_run.conclusion == 'success' runs-on: ubuntu-latest steps: - - uses: gravity-ui/preview-deploy-action@v1 + - uses: gravity-ui/preview-deploy-action@v2 with: project: uikit github-token: ${{ secrets.GRAVITY_UI_BOT_GITHUB_TOKEN }} diff --git a/.github/workflows/pr-visual-tests-report.yml b/.github/workflows/pr-visual-tests-report.yml index f3765e514..a07fe410c 100644 --- a/.github/workflows/pr-visual-tests-report.yml +++ b/.github/workflows/pr-visual-tests-report.yml @@ -13,10 +13,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Download Artifacts - uses: dawidd6/action-download-artifact@v2 + uses: actions/download-artifact@v4 with: - workflow: ${{ github.event.workflow_run.workflow_id }} - run_id: ${{ github.event.workflow_run.id }} + run-id: ${{ github.event.workflow_run.id }} - name: Extract PR Number id: pr run: echo "::set-output name=id::$(