Skip to content

Merge pull request #3449 from terrestris/dependabot/npm_and_yarn/fort… #852

Merge pull request #3449 from terrestris/dependabot/npm_and_yarn/fort…

Merge pull request #3449 from terrestris/dependabot/npm_and_yarn/fort… #852

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 }}