chore(deps-dev): bump happy-dom from 13.10.1 to 15.10.1 #258
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test potential merges | |
on: | |
pull_request: | |
branches: [main, pre-release] | |
workflow_dispatch: | |
env: | |
HUSKY: 0 | |
jobs: | |
check-changesets: | |
name: Check if changeset release | |
runs-on: ubuntu-latest | |
outputs: | |
status: ${{ steps.is-changeset-release.outcome }} | |
steps: | |
- name: Skip on changeset releases | |
if: ${{ startsWith( github.head_ref, 'changeset-release' ) }} | |
id: is-changeset-release | |
run: exit 1 | |
continue-on-error: true | |
build-and-test: | |
name: Build and test | |
runs-on: ubuntu-latest | |
needs: check-changesets | |
if: needs.check-changesets.outputs.status == 'success' || needs.check-changesets.outputs.status == 'skipped' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20.x" | |
cache: npm | |
- name: Cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
/home/runner/work/packages/packages/node_modules/.cache/eslint/ | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json', '**/.eslintrc.cjs') }} | |
- run: npm ci | |
- run: npm run build | |
- run: npm run lint | |
- run: npm run test | |
conclusion: | |
needs: build-and-test | |
runs-on: ubuntu-latest | |
if: ${{ always() }} | |
steps: | |
- if: needs.build-and-test.result == 'failure' || needs.build-and-test.result == 'cancelled' | |
run: exit 1 | |
- run: exit 0 |