build(deps-dev): bump postcss from 8.4.21 to 8.4.31 #212
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 do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: test coverage | |
on: | |
pull_request: | |
branches: | |
- develop | |
- main | |
jobs: | |
build: | |
permissions: write-all | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [14, 16, 18] | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
name: Node ${{ matrix.node }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'npm' | |
cache-dependency-path: '**/package-lock.json' | |
- run: rm -rf package-lock.json | |
- run: npm install | |
# - run: npm run build --if-present | |
- run: npm run test | |
- uses: ArtiomTr/jest-coverage-report-action@v2 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
threshold: 80 # optional parameter |