Bump elliptic from 6.5.4 to 6.6.0 #299
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 Test | |
on: | |
pull_request: | |
types: [assigned, opened, synchronize, reopened] | |
jobs: | |
unit-test: | |
permissions: write-all | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup GitHub Action | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14 | |
- name: Cache Dependencies | |
uses: actions/cache@v3 | |
id: cache | |
with: | |
path: | | |
node_modules | |
key: unit-test-cache-${{ runner.os }}-${{ hashFiles('package-lock.json') }} | |
- name: Install dependencies | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: npm install | |
- name: Test | |
run: npm run unit_test:ci | |
env: | |
FYLE_CLIENT_ID: ${{secrets.FYLE_CLIENT_ID}} | |
CALLBACK_URI: ${{secrets.CALLBACK_URI}} | |
API_URL: ${{secrets.API_URL}} | |
FYLE_APP_URL: ${{secrets.FYLE_APP_URL}} | |
- name: Unit Test Coverage | |
uses: fylein/comment-test-coverage@master | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
path: coverage/coverage-summary.json | |
title: Unit Test Coverage | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 |