chore(deps-dev): bump postcss from 8.4.24 to 8.4.27 #47
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: Testing | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Use Node LTS version | |
uses: actions/setup-node@v3 | |
with: | |
cache: yarn | |
node-version: 18 | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run test suite | |
run: yarn test | |
coverage: | |
permissions: | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: yarn | |
node-version: 18 | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run coverage report | |
run: yarn coverage | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: coverage-data-${{ github.run_id }} | |
path: | | |
coverage/**/*.json | |
- name: Coverage summary | |
uses: irongut/[email protected] | |
with: | |
filename: coverage/cobertura-coverage.xml | |
format: 'markdown' | |
output: 'both' | |
- name: Add coverage PR comment | |
uses: marocchino/[email protected] | |
with: | |
recreate: true | |
path: code-coverage-results.md | |
- name: Write to job summary | |
run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY |