Skip to content

Commit

Permalink
ci: update actions (#5068)
Browse files Browse the repository at this point in the history
Co-authored-by: splincode <>
  • Loading branch information
splincode authored Aug 10, 2023
1 parent 8a52447 commit b248f0b
Show file tree
Hide file tree
Showing 15 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-author-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6
with:
branch-name: refs/pull/${{ github.event.pull_request.number }}/merge
2 changes: 1 addition & 1 deletion .github/workflows/auto-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6

- name: Label when approved
if: env.IS_OWNER_MODE == 'true'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/auto-update-icons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6

- uses: actions/[email protected]
if: env.SUPPORT_AUTO_PUSH == 'true'
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6
- run: |
npx nx prebuild icons
npx nx build icons
Expand All @@ -28,6 +28,6 @@ jobs:
- name: Auto update bundled & used icons
if: env.SUPPORT_AUTO_PUSH == 'true'
uses: taiga-family/ci/actions/[email protected].5
uses: taiga-family/ci/actions/[email protected].6
with:
message: icons have changed
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6
- uses: taiga-family/ci/actions/[email protected].6

- name: Run build libraries and check it
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bundle-size-tracking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6
- uses: taiga-family/ci/actions/[email protected].6

- run: npx nx build demo

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
ref: ${{ github.head_ref }}
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6
- uses: taiga-family/ci/actions/[email protected].6

- name: Run release
id: run-release
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:

- name: Announce
if: ${{ env.IS_DRY_MODE == 'true' }}
uses: taiga-family/ci/actions/[email protected].5
uses: taiga-family/ci/actions/[email protected].6
with:
version: ${{ steps.run-release.outputs.new_version }}
url: ${{ secrets.ANNOUNCE_WEBHOOK_TEST }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6

- name: Prepare demo before deploy from snapshots
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6
- uses: taiga-family/ci/actions/[email protected].6

- run: npx nx build demo --base-href='/'

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
- uses: actions/[email protected]
with:
fetch-depth: 10
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6
- uses: taiga-family/ci/actions/[email protected].6
continue-on-error: true
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6

- name: Building demo-app of git-branch without cache
run: npx nx build demo -c next --output-path ${{ env.DIST }} --base-href='/'
Expand Down Expand Up @@ -61,8 +61,8 @@ jobs:
name: ${{ matrix.project }}
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6
- uses: taiga-family/ci/actions/[email protected].6

- name: Download cache / ${{ env.CACHE_DIST_KEY }}
uses: actions/cache/[email protected]
Expand Down Expand Up @@ -114,8 +114,8 @@ jobs:
needs: [build-demo]
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6
- uses: taiga-family/ci/actions/[email protected].6

- name: Install Playwright Browsers
run: npx playwright install --with-deps
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6

- name: Download artifacts / ${{ env.CYPRESS_SNAPSHOTS_ARTIFACTS_KEY }}
continue-on-error: true
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,77 +10,77 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6
- run: npm run typecheck

cspell:
if: ${{ !contains(github.head_ref, 'release/') }}
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6
- run: npm run cspell -- --no-progress

prettier:
if: ${{ !contains(github.head_ref, 'release/') }}
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6

- uses: actions/[email protected]
if: env.SUPPORT_AUTO_PUSH == 'true'
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].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/[email protected].5
uses: taiga-family/ci/actions/[email protected].6

stylelint:
if: ${{ !contains(github.head_ref, 'release/') }}
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6

- uses: actions/[email protected]
if: env.SUPPORT_AUTO_PUSH == 'true'
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].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/[email protected].5
uses: taiga-family/ci/actions/[email protected].6

eslint:
if: ${{ !contains(github.head_ref, 'release/') }}
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6

- uses: actions/[email protected]
if: env.SUPPORT_AUTO_PUSH == 'true'
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].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/[email protected].5
uses: taiga-family/ci/actions/[email protected].6

concurrency:
group: lint-${{ github.workflow }}-${{ github.ref }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6
- uses: taiga-family/ci/actions/[email protected].6
- run: npx ts-node ./scripts/publish-canary.ts

concurrency:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6
- uses: taiga-family/ci/actions/[email protected].6

- name: Build publishable libraries
run: npm run run-many:build:libs
Expand All @@ -25,7 +25,7 @@ jobs:
run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT

- name: Announce
uses: taiga-family/ci/actions/[email protected].5
uses: taiga-family/ci/actions/[email protected].6
with:
version: ${{ steps.info.outputs.version }}
url: ${{ secrets.ANNOUNCE_WEBHOOK }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6
- uses: taiga-family/ci/actions/[email protected].6

- run: npx nx build demo -c next
- run: tree ${{ env.DIST }} -P '*.html'
Expand All @@ -30,8 +30,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6
- uses: taiga-family/ci/actions/[email protected].6
id: nodejs-workspace

- run: npx nx build demo --configuration production
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
name: ${{ matrix.project }}
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6

- name: Run tests for ${{ matrix.project }}
run: npx nx test ${{ matrix.project }} --skip-nx-cache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
with:
fetch-depth: 0

- uses: taiga-family/ci/actions/[email protected].5
- uses: taiga-family/ci/actions/[email protected].6
id: nodejs-workspace

- name: Get last tag
Expand Down

0 comments on commit b248f0b

Please sign in to comment.