Bump braces from 3.0.2 to 3.0.3 #439
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
# 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' }} |