name: linting, testing, building
run-name: ${{ github.actor }} is testing out GitHub Actions 
on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]
jobs:
  pipeline:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        node-version: [ 18.12.1 ]
    steps:
      - uses: actions/checkout@v2
      - name: Staring Node.js ${{ matrix.node-version }}
        uses: actions/setup-node@v1
        with:
          node-version: ${{ matrix.node-version }}
      - name: install modules
        run: npm install
      - name: build production project
        run: npm run build:prod
        if: always()
      - name: linting typescript
        run: npm run lint:ts
        if: always()
      - name: linting css
        run: npm run lint:scss
        if: always()
      - name: unit testing
        run: npm run test:unit
        if: always()
      - name: build storybook
        run: npm run storybook:build
        if: always()
      - name: screenshot testing
        run: npm run test:ui:ci
        if: always()FAIL chrome.docker/chrome.iphone7/shared/Modal/Primary: Screenshot differs from reference, see .loki/difference/chrome_iphone7_shared_Modal_Primary.pngconst $auth = axios.create({
  baseURL: http://localhost:3000,
  headers: {
    'Content-Type': 'application/json'
  }
});
const response = await $auth.get('/tags);        const insertText = (text: string) => {
    let contentState = editorState.getCurrentContent();
    const selectionState = editorState.getSelection();
    const contentStateWithEntity = contentState.createEntity(
      'MY_ENTITY_TYPE',
      'IMMUTABLE'
    );
    const entityKey = contentStateWithEntity.getLastCreatedEntityKey();
    contentState = Modifier.insertText(contentState, selectionState, text);
    let newState = EditorState.push(
      editorState,
      contentState,
      'insert-characters'
    );
    setEditorState(newState);
  };        
Либо как вариант, можно предположить, что дополнительные микротаски не создаются (точнее только одна на обработку промиса), и дело в том, как движок обрабатывает then который возвращает обычное не промис значение, и then который идет за ним.
Непонятка...