Create AsyncWrapper and reuse it #87
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: Quality check | |
on: [push] | |
jobs: | |
quick-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: 'package.json' | |
- name: Cache node_modules | |
uses: actions/cache@v3 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node_modules- | |
- name: Dependency installation | |
run: npm install | |
- name: Linting | |
run: npm run lint | |
- name: Unit / integration tests | |
run: npm run test | |
- name: Checking build | |
run: npm run build | |
- name: Check bundle size | |
run: npx bundlesize |