Skip to content

Bump happy-dom from 15.7.4 to 15.10.1 #268

Bump happy-dom from 15.7.4 to 15.10.1

Bump happy-dom from 15.7.4 to 15.10.1 #268

Workflow file for this run

name: Continuous integration
jobs:
# Stage 1: bun, codacy, dependency-review, devskim, install
# bun:
# name: bun
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repo
# uses: actions/checkout@v3
# - name: Install bun
# uses: oven-sh/setup-bun@v1
# - name: Install dependencies
# run: bun install
# - name: Prepack
# run: bun run prepack
# - name: Prepublish
# run: bun run prepublish
codacy:
name: Codacy
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Analyze
uses: codacy/codacy-analysis-cli-action@master
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
format: sarif
gh-code-scanning-compat: true
max-allowed-issues: 2147483647
output: codacy.sarif
verbose: true
# - name: Upload SARIF
# if: always()
# uses: github/codeql-action/upload-sarif@main
# with:
# sarif_file: codacy.sarif
# wait-for-processing: true
# dependency-review:
# name: Dependency review
# runs-on: ubuntu-latest
# permissions:
# pull-requests: write
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3
# - name: Review dependencies
# uses: actions/dependency-review-action@v2
devskim:
name: DevSkim
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Scan
uses: microsoft/DevSkim-Action@v1
- name: Upload SARIF
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: devskim-results.sarif
wait-for-processing: true
install:
name: Install
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
cache: yarn
check-latest: true
node-version: 'lts/*'
- name: Install dependencies
run: yarn install --immutable
# Stage 2: prepack
prepack:
name: Prepack
needs: install
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
cache: yarn
check-latest: true
node-version: 'lts/*'
- name: Install dependencies
run: yarn install --immutable
- name: Prepack
run: yarn run --require dd-trace/init prepack
env:
CLARITY_TAG: ln18ya61ca
CLOUD_ACCOUNT_ID: quisido
CLOUD_PLATFORM: GitHub
CLOUD_PROVIDER: GitHub Pages
CLOUDWATCH_RUM_APPLICATION_ID: 9be6a855-9bac-4f07-bae8-6ad0d7a00b00
CLOUDWATCH_RUM_GUEST_ROLE_ARN: arn:aws:iam::787801101157:role/RUM-Monitor-us-west-2-787801101157-5868679251171-Unauth
CLOUDWATCH_RUM_IDENTITY_POOL_ID: us-west-2:9d109fe9-23c3-4e33-a478-143f93445968
CSP_ORIGIN: https://localhost:6586
DD_API_KEY: ${{ secrets.DATADOG_API_KEY }}
DD_APPLICATION_ID: 3e55f7ef-a00a-41ab-9857-baf7ad00daa1
DD_CLIENT_TOKEN: pubee0abcc4e08cef309eda284ba1d44e32
DD_ENV: staging
DD_PROFILING_ENABLED: true
DD_SERVICE: quisi.do-(staging)
DD_VERSION: ${{ github.sha }}
DEPLOYMENT_ENVIRONMENT: integration
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_SHA: ${{ github.sha }}
GOOGLE_ANALYTICS_TRACKING_ID: G-GMKFW5ZZ9G
HONEYCOMB_API_KEY: hcaik_01hwsd84kyjjrwjgg4kqbzzvp2
IMAGEKIT_KEY: ${{ secrets.IMAGEKIT_KEY }}
PATREON_OAUTH_CLIENT_ID: 4kCae2AHZdKyyuonaPzhGillxJ2HyyLQEDu8StvMtixBHmWmN4KVG0QVP6R45tjG
PATREON_OAUTH_REDIRECT_URI: https://localhost:5882/patreon/
SENTRY_ENVIRONMENT: staging
WHOAMI: https://localhost:5882/whoami/
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: prepack
path: |
packages/*/.next/
packages/*/dist/
packages/*/out/
lighthouse:
name: Lighthouse
needs: prepack
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: prepack
path: packages/
- name: Setup Node
uses: actions/setup-node@v3
with:
cache: yarn
check-latest: true
node-version: 'lts/*'
- name: Install dependencies
run: yarn install --immutable
- name: Audit
run: yarn packages/next run lighthouse:report
- name: Validate
run: yarn packages/next run postlighthouse
- name: Upload report
if: always()
uses: actions/upload-artifact@v3
with:
name: lighthouse
path: |
packages/*/lighthouse.report.*
packages/*/lighthouse-*.devtoolslog.json
packages/*/lighthouse-*.trace.json
prepublish:
name: Prepublish
needs: prepack
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: prepack
path: packages/
- name: Setup Node
uses: actions/setup-node@v3
with:
cache: yarn
check-latest: true
node-version: 'lts/*'
- name: Install dependencies
run: yarn install --immutable
- name: Prepublish
run: yarn prepublish
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_EDIT_WORKERS_API_TOKEN }}
# Stage 4: coverage
# coverage:
# name: Coverage
# needs: [prepublish] # cypress
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3
# # - name: Download Cypress artifacts
# # uses: actions/download-artifact@v3
# # with:
# # name: cypress
# # path: packages/
# - name: Download prepublish artifacts
# uses: actions/download-artifact@v3
# with:
# name: prepublish
# path: /
# - name: Setup Node
# uses: actions/setup-node@v3
# with:
# cache: yarn
# check-latest: true
# node-version: 'lts/*'
# - name: Install dependencies
# run: yarn install --immutable
# - name: Report coverage
# run: yarn packages/next run coverage
# env:
# BRANCHES_COVERAGE_THRESHOLD: 1
# FUNCTIONS_COVERAGE_THRESHOLD: 1
# LINES_COVERAGE_THRESHOLD: 1
# STATEMENTS_COVERAGE_THRESHOLD: 1
# - name: Upload coverage
# if: always()
# uses: actions/upload-artifact@v3
# with:
# name: coverage
# path: |
# packages/*/.nyc_output/
# packages/*/coverage/
on:
pull_request: