This repository has been archived by the owner on Feb 6, 2024. It is now read-only.
chore(deps): update dependency typescript to v4.9.5 #2107
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: Codecov | |
on: | |
- push | |
jobs: | |
release: | |
name: Upload coverage to Codecov | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 12 | |
registry-url: https://registry.npmjs.org/ | |
- name: Cache node modules | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- name: Install | |
run: npm ci | |
- name: test | |
run: npm test -- --coverage | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
MWS_AUTH_TOKEN: ${{ secrets.MWS_AUTH_TOKEN }} | |
SECRET_KEY: ${{ secrets.SECRET }} | |
SELLER_ID: ${{ secrets.SELLER_ID }} | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v2 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |