Skip to content

Bump cross-spawn from 7.0.3 to 7.0.6 in /cypress #301

Bump cross-spawn from 7.0.3 to 7.0.6 in /cypress

Bump cross-spawn from 7.0.3 to 7.0.6 in /cypress #301

Workflow file for this run

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