Skip to content

Merge pull request #456 from jy95/dependabot/github_actions/actions/c… #1348

Merge pull request #456 from jy95/dependabot/github_actions/actions/c…

Merge pull request #456 from jy95/dependabot/github_actions/actions/c… #1348

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.0.4
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'