chore(deps): update yarn to v3.8.3 (#177) #681
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: UNIT-TESTS | |
on: | |
push: | |
branches: | |
- "master" | |
- "develop" | |
pull_request: | |
types: [ready_for_review, synchronize, opened] | |
jobs: | |
unit: | |
name: UNIT (API, CRYPTO, TRANSACTIONS) | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [12.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install And Build | |
run: yarn && yarn build | |
- name: GUARDIAN-CRYPTO | |
run: cd packages/guardian-crypto && yarn test:unit:coverage --maxWorkers=2 | |
- uses: codecov/codecov-action@v2 | |
with: | |
directory: packages/guardian-crypto/.coverage | |
flags: guardian-crypto | |
- name: GUARDIAN-TRANSACTIONS | |
run: cd packages/guardian-transactions && yarn test:unit:coverage --maxWorkers=2 | |
- uses: codecov/codecov-action@v2 | |
with: | |
directory: packages/guardian-transactions/.coverage | |
flags: guardian-transactions | |
- name: GUARDIAN-API | |
run: cd packages/guardian-api && yarn test:unit:coverage --maxWorkers=2 | |
- uses: codecov/codecov-action@v2 | |
with: | |
directory: packages/guardian-api/.coverage | |
flags: guardian-api |