Skip to content

Merge pull request #57 from Kikobeats/dependabot/github_actions/pnpm/… #89

Merge pull request #57 from Kikobeats/dependabot/github_actions/pnpm/…

Merge pull request #57 from Kikobeats/dependabot/github_actions/pnpm/… #89

Workflow file for this run

name: test
on:
push:
branches:
- master
pull_request:
branches:
- master
env:
CI: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Setup PNPM
uses: pnpm/action-setup@v3
with:
version: latest
run_install: true
- name: Test
run: npm test
- name: Report
run: npx c8 report --reporter=text-lcov > coverage/lcov.info
- name: Coverage
uses: coverallsapp/github-action@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}