Skip to content

Merge pull request #3446 from terrestris/dependabot/npm_and_yarn/comm… #849

Merge pull request #3446 from terrestris/dependabot/npm_and_yarn/comm…

Merge pull request #3446 from terrestris/dependabot/npm_and_yarn/comm… #849

Workflow file for this run

name: Run coveralls
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources 🔰
uses: actions/checkout@v2
- name: Setup Node.js 16 👷🏻
uses: actions/setup-node@v1
with:
node-version: 16
- name: Cache Node.js modules 💾
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
${{ runner.OS }}-
- name: Install dependencies ⏬
run: npm ci
- name: Generate coverage 🧪
run: npm test
- name: Publish to coveralls ⭐
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}