Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

chore(deps): update dependency @scaleleap/semantic-release-config to … #2091

chore(deps): update dependency @scaleleap/semantic-release-config to …

chore(deps): update dependency @scaleleap/semantic-release-config to … #2091

Workflow file for this run

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 }}