message: separate tasks
diff: @@ -3,8 +3,7 @@ name: gh-actions-test
  on: [push, pull_request]
  jobs:
  - # fetch-dependencies:
  - lint:
  + fetch-dependencies-and-build:
  runs-on: ubuntu-latest
  strategy:
  matrix:
  @@ -21,11 +20,22 @@ jobs:
  path: ~/node_modules
  key: cached_node_modules_${{ hashFiles('**/yarn.lock') }}
  restore-keys: cached_node_modules_
  - - run: yarn
  + - run: yarn --prefer-offline --frozen-lockfile --ignore-engines
  + - run: yarn build:test
  +
  + lint:
  + needs: fetch-dependencies-and-build
  + steps:
  - run: yarn lint:es
  - run: yarn lint:ts
  - run: yarn lint:style
  - run: yarn lint:template
  - - run: yarn test
  - # - run: npm run build --if-present
  - # - run: npm test
  +
  + test:
  + needs: fetch-dependencies-and-build
  + - run: yarn test:cover --path ./dist
  +
  + send-to-coverall:
  + needs: test
  + - run: cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
  +
  