Skip to content

chore(deps): update actions/checkout action to v4 (#379) #845

chore(deps): update actions/checkout action to v4 (#379)

chore(deps): update actions/checkout action to v4 (#379) #845

Workflow file for this run

name: Test
on:
push:
branches:
- main
tags-ignore:
- '*'
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
- name: Install 🚧
run: npm ci
- name: Build 🏗️
run: npm run build
- name: Run linter 🏵️
run: npm run lint
- name: Run tests 🧪
run: npm run coverage
- name: Report coverage 📈
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}