deps(dev): update jamesives/github-pages-deploy-action action to v4.7.2 #3220
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: Code Climate | |
# Events that trigger this workflow | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
# Defines which tool versions should be used in all workflow jobs | |
env: | |
node: '18' | |
pnpm: '7' | |
jobs: | |
code-climate-report: | |
name: Report | |
runs-on: ubuntu-latest | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
steps: | |
- name: Checkout 📥 | |
uses: actions/[email protected] | |
- name: Setup PNPM 💿 | |
uses: pnpm/[email protected] | |
with: | |
version: ${{ env.pnpm }} | |
- name: Setup Node 💿 | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ env.node }} | |
cache: 'pnpm' | |
- name: Install dependencies 📚 | |
run: pnpm install | |
- name: Build packages 📦 | |
run: pnpm build | |
- name: Generate and publish code coverage to code climate 📠 | |
uses: paambaati/[email protected] | |
env: | |
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE_REPORTER_ID }} | |
with: | |
coverageCommand: pnpm test:unit |