Skip to content

Merge pull request #480 from jy95/dependabot/npm_and_yarn/docusaurus/… #1411

Merge pull request #480 from jy95/dependabot/npm_and_yarn/docusaurus/…

Merge pull request #480 from jy95/dependabot/npm_and_yarn/docusaurus/… #1411

Workflow file for this run

name: Tests
on:
push:
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Set up Node.js ✨
uses: actions/setup-node@v4.1.0
with:
node-version: "lts/*"
- name: Install 💻
run: |
npm install
- name: Build 🤖
run: |
npm run build
- name: Test 🧪
run: |
npm run test:coverage
- name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@v1.3.0
if: "! github.event.pull_request.head.repo.fork "
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: 'coverage/lcov.info'