From b248f0ba1495093783df7bd49ade140cba769a42 Mon Sep 17 00:00:00 2001 From: Maksim Ivanov Date: Thu, 10 Aug 2023 10:26:05 +0300 Subject: [PATCH] ci: update actions (#5068) Co-authored-by: splincode <> --- .github/workflows/auto-author-assign.yml | 2 +- .github/workflows/auto-label.yml | 2 +- .github/workflows/auto-update-icons.yml | 6 +++--- .github/workflows/build.yml | 4 ++-- .github/workflows/bundle-size-tracking.yml | 4 ++-- .github/workflows/create-release.yml | 6 +++--- .github/workflows/deploy-gh-pages.yml | 2 +- .github/workflows/deploy-preview.yml | 4 ++-- .github/workflows/e2e.yml | 16 ++++++++-------- .github/workflows/lint.yml | 22 +++++++++++----------- .github/workflows/publish-canary.yml | 4 ++-- .github/workflows/publish.yml | 6 +++--- .github/workflows/snapshots.yml | 8 ++++---- .github/workflows/test.yml | 2 +- .github/workflows/validate-tag.yml | 2 +- 15 files changed, 45 insertions(+), 45 deletions(-) diff --git a/.github/workflows/auto-author-assign.yml b/.github/workflows/auto-author-assign.yml index 99f57ec97c87..fbd8f60db1fe 100644 --- a/.github/workflows/auto-author-assign.yml +++ b/.github/workflows/auto-author-assign.yml @@ -11,6 +11,6 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v3.5.3 - - uses: taiga-family/ci/actions/cleanup-cache@1.7.5 + - uses: taiga-family/ci/actions/cleanup-cache@1.7.6 with: branch-name: refs/pull/${{ github.event.pull_request.number }}/merge diff --git a/.github/workflows/auto-label.yml b/.github/workflows/auto-label.yml index 212e4b6ff510..2741a563115a 100644 --- a/.github/workflows/auto-label.yml +++ b/.github/workflows/auto-label.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.3 - - uses: taiga-family/ci/actions/variables@1.7.5 + - uses: taiga-family/ci/actions/variables@1.7.6 - name: Label when approved if: env.IS_OWNER_MODE == 'true' diff --git a/.github/workflows/auto-update-icons.yml b/.github/workflows/auto-update-icons.yml index 19c97c18174f..67ded80853ec 100644 --- a/.github/workflows/auto-update-icons.yml +++ b/.github/workflows/auto-update-icons.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.3 - - uses: taiga-family/ci/actions/variables@1.7.5 + - uses: taiga-family/ci/actions/variables@1.7.6 - uses: actions/checkout@v3.5.3 if: env.SUPPORT_AUTO_PUSH == 'true' @@ -17,7 +17,7 @@ jobs: ref: ${{ github.head_ref }} token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} - - uses: taiga-family/ci/actions/setup-node@1.7.5 + - uses: taiga-family/ci/actions/setup-node@1.7.6 - run: | npx nx prebuild icons npx nx build icons @@ -28,6 +28,6 @@ jobs: - name: Auto update bundled & used icons if: env.SUPPORT_AUTO_PUSH == 'true' - uses: taiga-family/ci/actions/auto-push@1.7.5 + uses: taiga-family/ci/actions/auto-push@1.7.6 with: message: icons have changed diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ed53d24f4d37..5b545349b2dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,8 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.3 - - uses: taiga-family/ci/actions/variables@1.7.5 - - uses: taiga-family/ci/actions/setup-node@1.7.5 + - uses: taiga-family/ci/actions/variables@1.7.6 + - uses: taiga-family/ci/actions/setup-node@1.7.6 - name: Run build libraries and check it run: | diff --git a/.github/workflows/bundle-size-tracking.yml b/.github/workflows/bundle-size-tracking.yml index 32872a82c015..5ccd55a8f8a5 100644 --- a/.github/workflows/bundle-size-tracking.yml +++ b/.github/workflows/bundle-size-tracking.yml @@ -11,8 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.3 - - uses: taiga-family/ci/actions/variables@1.7.5 - - uses: taiga-family/ci/actions/setup-node@1.7.5 + - uses: taiga-family/ci/actions/variables@1.7.6 + - uses: taiga-family/ci/actions/setup-node@1.7.6 - run: npx nx build demo diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 1a66036e8119..fc6d7f026529 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -32,8 +32,8 @@ jobs: ref: ${{ github.head_ref }} token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} - - uses: taiga-family/ci/actions/variables@1.7.5 - - uses: taiga-family/ci/actions/setup-node@1.7.5 + - uses: taiga-family/ci/actions/variables@1.7.6 + - uses: taiga-family/ci/actions/setup-node@1.7.6 - name: Run release id: run-release @@ -105,7 +105,7 @@ jobs: - name: Announce if: ${{ env.IS_DRY_MODE == 'true' }} - uses: taiga-family/ci/actions/announce@1.7.5 + uses: taiga-family/ci/actions/announce@1.7.6 with: version: ${{ steps.run-release.outputs.new_version }} url: ${{ secrets.ANNOUNCE_WEBHOOK_TEST }} diff --git a/.github/workflows/deploy-gh-pages.yml b/.github/workflows/deploy-gh-pages.yml index d0297d35d56a..2b9ab2eadeb6 100644 --- a/.github/workflows/deploy-gh-pages.yml +++ b/.github/workflows/deploy-gh-pages.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.3 - - uses: taiga-family/ci/actions/variables@1.7.5 + - uses: taiga-family/ci/actions/variables@1.7.6 - name: Prepare demo before deploy from snapshots run: | diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index d904d2a4a495..895f0438cee9 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -8,8 +8,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.3 - - uses: taiga-family/ci/actions/variables@1.7.5 - - uses: taiga-family/ci/actions/setup-node@1.7.5 + - uses: taiga-family/ci/actions/variables@1.7.6 + - uses: taiga-family/ci/actions/setup-node@1.7.6 - run: npx nx build demo --base-href='/' diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index fa25f94e7471..834be2ea5381 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -17,10 +17,10 @@ jobs: - uses: actions/checkout@v3.5.3 with: fetch-depth: 10 - - uses: taiga-family/ci/actions/variables@1.7.5 - - uses: taiga-family/ci/actions/rebase@1.7.5 + - uses: taiga-family/ci/actions/variables@1.7.6 + - uses: taiga-family/ci/actions/rebase@1.7.6 continue-on-error: true - - uses: taiga-family/ci/actions/setup-node@1.7.5 + - uses: taiga-family/ci/actions/setup-node@1.7.6 - name: Building demo-app of git-branch without cache run: npx nx build demo -c next --output-path ${{ env.DIST }} --base-href='/' @@ -61,8 +61,8 @@ jobs: name: ${{ matrix.project }} steps: - uses: actions/checkout@v3.5.3 - - uses: taiga-family/ci/actions/variables@1.7.5 - - uses: taiga-family/ci/actions/setup-node@1.7.5 + - uses: taiga-family/ci/actions/variables@1.7.6 + - uses: taiga-family/ci/actions/setup-node@1.7.6 - name: Download cache / ${{ env.CACHE_DIST_KEY }} uses: actions/cache/restore@v3.3.1 @@ -114,8 +114,8 @@ jobs: needs: [build-demo] steps: - uses: actions/checkout@v3.5.3 - - uses: taiga-family/ci/actions/variables@1.7.5 - - uses: taiga-family/ci/actions/setup-node@1.7.5 + - uses: taiga-family/ci/actions/variables@1.7.6 + - uses: taiga-family/ci/actions/setup-node@1.7.6 - name: Install Playwright Browsers run: npx playwright install --with-deps @@ -179,7 +179,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.3 - - uses: taiga-family/ci/actions/variables@1.7.5 + - uses: taiga-family/ci/actions/variables@1.7.6 - name: Download artifacts / ${{ env.CYPRESS_SNAPSHOTS_ARTIFACTS_KEY }} continue-on-error: true diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1a0819193dd3..ac003add7a1f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.3 - - uses: taiga-family/ci/actions/setup-node@1.7.5 + - uses: taiga-family/ci/actions/setup-node@1.7.6 - run: npm run typecheck cspell: @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.3 - - uses: taiga-family/ci/actions/setup-node@1.7.5 + - uses: taiga-family/ci/actions/setup-node@1.7.6 - run: npm run cspell -- --no-progress prettier: @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.3 - - uses: taiga-family/ci/actions/variables@1.7.5 + - uses: taiga-family/ci/actions/variables@1.7.6 - uses: actions/checkout@v3.5.3 if: env.SUPPORT_AUTO_PUSH == 'true' @@ -34,20 +34,20 @@ jobs: ref: ${{ github.head_ref }} token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} - - uses: taiga-family/ci/actions/setup-node@1.7.5 + - uses: taiga-family/ci/actions/setup-node@1.7.6 - run: npm run prettier ${{ env.SUPPORT_AUTO_PUSH == 'true' && '-- --write' || '-- --check' }} - name: Apply changes after linting if: env.SUPPORT_AUTO_PUSH == 'true' - uses: taiga-family/ci/actions/auto-push@1.7.5 + uses: taiga-family/ci/actions/auto-push@1.7.6 stylelint: if: ${{ !contains(github.head_ref, 'release/') }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.3 - - uses: taiga-family/ci/actions/variables@1.7.5 + - uses: taiga-family/ci/actions/variables@1.7.6 - uses: actions/checkout@v3.5.3 if: env.SUPPORT_AUTO_PUSH == 'true' @@ -55,19 +55,19 @@ jobs: ref: ${{ github.head_ref }} token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} - - uses: taiga-family/ci/actions/setup-node@1.7.5 + - uses: taiga-family/ci/actions/setup-node@1.7.6 - run: npm run stylelint ${{ env.SUPPORT_AUTO_PUSH == 'true' && '-- --fix' || '' }} - name: Apply changes after linting if: env.SUPPORT_AUTO_PUSH == 'true' - uses: taiga-family/ci/actions/auto-push@1.7.5 + uses: taiga-family/ci/actions/auto-push@1.7.6 eslint: if: ${{ !contains(github.head_ref, 'release/') }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.3 - - uses: taiga-family/ci/actions/variables@1.7.5 + - uses: taiga-family/ci/actions/variables@1.7.6 - uses: actions/checkout@v3.5.3 if: env.SUPPORT_AUTO_PUSH == 'true' @@ -75,12 +75,12 @@ jobs: ref: ${{ github.head_ref }} token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} - - uses: taiga-family/ci/actions/setup-node@1.7.5 + - uses: taiga-family/ci/actions/setup-node@1.7.6 # - run: npm run lint ${{ env.SUPPORT_AUTO_PUSH == 'true' && '-- --fix' || '' }} - name: Apply changes after linting if: env.SUPPORT_AUTO_PUSH == 'true' - uses: taiga-family/ci/actions/auto-push@1.7.5 + uses: taiga-family/ci/actions/auto-push@1.7.6 concurrency: group: lint-${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/publish-canary.yml b/.github/workflows/publish-canary.yml index abcc55d0c804..ae0ae242f113 100644 --- a/.github/workflows/publish-canary.yml +++ b/.github/workflows/publish-canary.yml @@ -14,8 +14,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.3 - - uses: taiga-family/ci/actions/variables@1.7.5 - - uses: taiga-family/ci/actions/setup-node@1.7.5 + - uses: taiga-family/ci/actions/variables@1.7.6 + - uses: taiga-family/ci/actions/setup-node@1.7.6 - run: npx ts-node ./scripts/publish-canary.ts concurrency: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4da95dae5954..2bac422982ef 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,8 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.3 - - uses: taiga-family/ci/actions/variables@1.7.5 - - uses: taiga-family/ci/actions/setup-node@1.7.5 + - uses: taiga-family/ci/actions/variables@1.7.6 + - uses: taiga-family/ci/actions/setup-node@1.7.6 - name: Build publishable libraries run: npm run run-many:build:libs @@ -25,7 +25,7 @@ jobs: run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT - name: Announce - uses: taiga-family/ci/actions/announce@1.7.5 + uses: taiga-family/ci/actions/announce@1.7.6 with: version: ${{ steps.info.outputs.version }} url: ${{ secrets.ANNOUNCE_WEBHOOK }} diff --git a/.github/workflows/snapshots.yml b/.github/workflows/snapshots.yml index ab044256097c..eefa29c6ec25 100644 --- a/.github/workflows/snapshots.yml +++ b/.github/workflows/snapshots.yml @@ -11,8 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.3 - - uses: taiga-family/ci/actions/variables@1.7.5 - - uses: taiga-family/ci/actions/setup-node@1.7.5 + - uses: taiga-family/ci/actions/variables@1.7.6 + - uses: taiga-family/ci/actions/setup-node@1.7.6 - run: npx nx build demo -c next - run: tree ${{ env.DIST }} -P '*.html' @@ -30,8 +30,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.3 - - uses: taiga-family/ci/actions/variables@1.7.5 - - uses: taiga-family/ci/actions/setup-node@1.7.5 + - uses: taiga-family/ci/actions/variables@1.7.6 + - uses: taiga-family/ci/actions/setup-node@1.7.6 id: nodejs-workspace - run: npx nx build demo --configuration production diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f435974f1332..66c7dab3048d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,7 +29,7 @@ jobs: name: ${{ matrix.project }} steps: - uses: actions/checkout@v3.5.3 - - uses: taiga-family/ci/actions/setup-node@1.7.5 + - uses: taiga-family/ci/actions/setup-node@1.7.6 - name: Run tests for ${{ matrix.project }} run: npx nx test ${{ matrix.project }} --skip-nx-cache diff --git a/.github/workflows/validate-tag.yml b/.github/workflows/validate-tag.yml index 131cb5776296..149b29bcfa8d 100644 --- a/.github/workflows/validate-tag.yml +++ b/.github/workflows/validate-tag.yml @@ -11,7 +11,7 @@ jobs: with: fetch-depth: 0 - - uses: taiga-family/ci/actions/setup-node@1.7.5 + - uses: taiga-family/ci/actions/setup-node@1.7.6 id: nodejs-workspace - name: Get last tag