fix(kit): Number
has problems with run-time updates of postfix
#492
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: [pull_request] | |
jobs: | |
typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js and Cache | |
uses: ./.github/actions/nodejs | |
- name: Typecheck | |
run: npm run typecheck | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup global variables | |
uses: ./.github/actions/variables | |
- uses: actions/checkout@v3 | |
if: env.SUPPORT_AUTO_PUSH == 'true' | |
with: | |
ref: ${{ github.head_ref }} | |
token: ${{ secrets.TINKOFF_BOT_PAT }} | |
- name: Setup Node.js and Cache | |
uses: ./.github/actions/nodejs | |
- name: Run prettier | |
run: npm run prettier ${{ env.SUPPORT_AUTO_PUSH == 'true' && '-- --write' || '-- --check' }} | |
- name: Apply changes after linting | |
if: env.SUPPORT_AUTO_PUSH == 'true' | |
uses: ./.github/actions/auto-push | |
stylelint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup global variables | |
uses: ./.github/actions/variables | |
- uses: actions/checkout@v3 | |
if: env.SUPPORT_AUTO_PUSH == 'true' | |
with: | |
ref: ${{ github.head_ref }} | |
token: ${{ secrets.TINKOFF_BOT_PAT }} | |
- name: Setup Node.js and Cache | |
uses: ./.github/actions/nodejs | |
- name: Run stylelint | |
run: npm run stylelint ${{ env.SUPPORT_AUTO_PUSH == 'true' && '-- --fix' || '' }} | |
- name: Apply changes after linting | |
if: env.SUPPORT_AUTO_PUSH == 'true' | |
uses: ./.github/actions/auto-push | |
eslint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup global variables | |
uses: ./.github/actions/variables | |
- uses: actions/checkout@v3 | |
if: env.SUPPORT_AUTO_PUSH == 'true' | |
with: | |
ref: ${{ github.head_ref }} | |
token: ${{ secrets.TINKOFF_BOT_PAT }} | |
- name: Setup Node.js and Cache | |
uses: ./.github/actions/nodejs | |
- name: Run eslint | |
run: npm run lint ${{ env.SUPPORT_AUTO_PUSH == 'true' && '-- --fix' || '' }} | |
- name: Apply changes after linting | |
if: env.SUPPORT_AUTO_PUSH == 'true' | |
uses: ./.github/actions/auto-push | |
concurrency: | |
group: lint-${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true |