Skip to content

Bump tar and node-sass #250

Bump tar and node-sass

Bump tar and node-sass #250

Workflow file for this run

name: Unit tests
on:
push:
branches:
- master
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
DEBIAN_FRONTEND: noninteractive
jobs:
tests:
name: Unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://github.com/".insteadOf
ssh://git@github.com/
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- name: Cache node_modules
id: cache-node-modules
uses: actions/cache@v4
with:
path: ./node_modules
key: node-modules-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: |
npm ci
- name: Test
run: |
npm run test -- --coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4