Skip to content

chore(deps-dev): bump happy-dom from 18.0.1 to 20.0.0 #49

chore(deps-dev): bump happy-dom from 18.0.1 to 20.0.0

chore(deps-dev): bump happy-dom from 18.0.1 to 20.0.0 #49

Workflow file for this run

name: Release
on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
workflow_dispatch:
push:
branches:
- main
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
jobs:
release:
runs-on: ubuntu-latest
if: (contains(github.event.head_commit.message, 'skip-release') == false) && (github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'skip-release'))
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/setup-node@v4
with:
node-version: '22.x'
- name: Enable Corepack
run: corepack enable
- name: Checkout
uses: actions/checkout@v4
- name: Prepare repository
run: git fetch --unshallow --tags
- name: Install
run: |
yarn install --frozen-lockfile
- name: Build
run: |
yarn build
- name: Create canary release
if: github.event_name == 'pull_request'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn release:canary
- name: Create release
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn release