Skip to content

Bump follow-redirects from 1.15.2 to 1.15.6 in /test-app #429

Bump follow-redirects from 1.15.2 to 1.15.6 in /test-app

Bump follow-redirects from 1.15.2 to 1.15.6 in /test-app #429

Workflow file for this run

# This workflow will run tests using node, triggered via push
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
name: Checks
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- name: Lint and build CAM
run: |
npm ci
npm run lint
npm run build
- name: Lint and build test app
working-directory: ./test-app
run: |
npm ci
npm run lint
npm run build
coverage:
needs: build
permissions:
checks: write
pull-requests: write
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Test Coverage
uses: ArtiomTr/jest-coverage-report-action@v2
id: coverage
with:
# tell to the action to not attach comment.
output: ${{ github.event.pull_request.head.repo.full_name == github.event.repository.name && 'comment' || 'report-markdown' }}
annotations: ${{ github.event.pull_request.head.repo.full_name == github.event.repository.name && 'coverage' || 'none' }}