Skip to content

Commit

Permalink
ci: use custom actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mivanov4tcs committed Oct 7, 2023
1 parent b73716e commit e73ee25
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/auto-update-icons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,15 @@ jobs:
if: ${{ !contains(github.head_ref , 'release/') }}
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: actions/[email protected]
if: env.SUPPORT_AUTO_PUSH == 'true'
with:
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- run: |
npx nx prebuild icons
npx nx build icons
npx ts-node ./scripts/generate-used-icons.ts
npx eslint ./projects/cdk/constants/used-icons.ts --fix
npx prettier ./projects/cdk/constants/used-icons.ts --write
- uses: taiga-family/ci/actions/auto/[email protected]
if: env.SUPPORT_AUTO_PUSH == 'true'
- uses: taiga-family/ci/actions/auto/[email protected]
with:
message: icons have changed
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
- run: npm run typecheck
- run: npm run cspell -- --no-progress
- run: |
npm run prettier -- --write
if [[ "${{ env.SUPPORT_AUTO_PUSH }}" == "true" ]]; then
npm run prettier -- --write
npm run stylelint -- --fix
Expand Down

0 comments on commit e73ee25

Please sign in to comment.