Skip to content

Bump @happy-dom/jest-environment from 12.10.3 to 14.7.1 #772

Bump @happy-dom/jest-environment from 12.10.3 to 14.7.1

Bump @happy-dom/jest-environment from 12.10.3 to 14.7.1 #772

Workflow file for this run

name: Test
on:
push:
branches: ['main']
pull_request:
branches: ['main']
jobs:
lint-css:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js LTS
uses: actions/setup-node@v4.0.2
with:
node-version: lts/*
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Lint CSS
run: npm run-script lint:css
lint-js:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js LTS
uses: actions/setup-node@v4.0.2
with:
node-version: lts/*
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Lint JavaScript
run: npm run-script lint:js
test:
runs-on: ubuntu-latest
needs:
- lint-css
- lint-js
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js LTS
uses: actions/setup-node@v4.0.2
with:
node-version: lts/*
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run-script test:coverage
- name: Send coverage report to Coveralls
uses: coverallsapp/github-action@v2
continue-on-error: true
with:
github-token: ${{ secrets.GITHUB_TOKEN }}