Bump the npm_and_yarn at /. security update group with 5 updates #4416
Workflow file for this run
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: Kitsu Test Suite | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Node ${{ matrix.node_version}} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node_version: [16] | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Use Node ${{ matrix.node_version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node_version }} | |
- name: Restore Cache | |
uses: actions/cache@v2 | |
with: | |
path: | | |
node_modules | |
key: ${{ matrix.os }}-${{ matrix.node_version }}-npm-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: ${{ matrix.os }}-${{ matrix.node_version }}-npm- | |
- name: Install Dependencies | |
run: npm ci | |
- name: Test App | |
run: COVERAGE=true npm run test:unit | |
- name: Report Test Coverage | |
if: github.event_name == 'push' && github.ref == 'refs/heads/react' | |
uses: paambaati/[email protected] | |
env: | |
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | |
with: | |
coverageLocations: | | |
${{ github.workspace }}/coverage/lcov.info:lcov |