Skip to content

Commit

Permalink
Merge pull request #1298 from dequelabs/release-v5.13.0
Browse files Browse the repository at this point in the history
chore(cauldron): Release 5.13.0
  • Loading branch information
scurker committed Dec 1, 2023
2 parents ba26ca8 + 69860e8 commit 0c2d2d2
Show file tree
Hide file tree
Showing 20 changed files with 336 additions and 327 deletions.
30 changes: 0 additions & 30 deletions .circleci/canary-version.js

This file was deleted.

165 changes: 0 additions & 165 deletions .circleci/config.yml

This file was deleted.

40 changes: 40 additions & 0 deletions .github/actions/dependencies/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: 'Dependencies'
description: 'Installs and builds dependencies for Cauldron'
inputs:
root:
type: boolean
default: true
packages-react:
type: boolean
default: false
packages-styles:
type: boolean
default: false

runs:
using: 'composite'
steps:
- uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
cache-dependency-path: '**/yarn.lock'
registry-url: 'https://registry.npmjs.org'
- name: Install root dependencies
run: yarn install --frozen-lockfile
shell: bash
# Note: Checking for both boolean and string true values due to referenced bug:
# https://github.com/actions/runner/issues/2238
if: ${{ inputs.root == true || inputs.root == 'true' }}
- name: Install packages/react dependencies
run: yarn install --cwd packages/react
shell: bash
# Note: Checking for both boolean and string true values due to referenced bug:
# https://github.com/actions/runner/issues/2238
if: ${{ inputs.packages-react == true || inputs.packages-react == 'true' }}
- name: Install packages/styles dependencies
run: yarn install --cwd packages/styles
shell: bash
# Note: Checking for both boolean and string true values due to referenced bug:
# https://github.com/actions/runner/issues/2238
if: ${{ inputs.packages-styles == true || inputs.packages-styles == 'true' }}
File renamed without changes.
15 changes: 15 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Lint

on:
pull_request:
branches:
- develop

jobs:

eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/dependencies
- run: yarn lint
76 changes: 76 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: Release

on:
push:
branches:
- develop
- master

jobs:

tests:
uses: ./.github/workflows/tests.yml

publish:
if: github.ref == 'refs/heads/master'
needs: [tests]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: 'master'
- uses: ./.github/actions/dependencies
with:
root: false
packages-react: true
packages-styles: true
- name: Build packages
run: |
NODE_ENV=production yarn --cwd packages/react build
NODE_ENV=production yarn --cwd packages/styles build
- name: Publish @deque/cauldron-styles
run: |
cd packages/styles
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Publish @deque/cauldron-react
run: |
cd packages/react
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

canary:
if: github.ref == 'refs/heads/develop'
needs: [tests]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: 'develop'
- uses: ./.github/actions/dependencies
with:
root: false
packages-react: true
packages-styles: true
- name: Build packages
run: |
NODE_ENV=production yarn --cwd packages/react build
NODE_ENV=production yarn --cwd packages/styles build
- name: Publish @deque/cauldron-styles
run: |
cd packages/styles
PACKAGE_VERSION="$(npm pkg get version | tr -d \")"
npm version "$PACKAGE_VERSION-canary.${GITHUB_SHA:0:8}" --allow-same-version --no-git-tag-version
npm publish --tag=next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Publish @deque/cauldron-react
run: |
cd packages/react
PACKAGE_VERSION="$(npm pkg get version | tr -d \")"
npm version "$PACKAGE_VERSION-canary.${GITHUB_SHA:0:8}" --allow-same-version --no-git-tag-version
npm publish --tag=next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ jobs:
- uses: actions/checkout@v4
with:
ref: 'master'
- uses: actions/setup-node@v4
with:
node-version: 16
- run: |
git config user.name attest-team-ci
git config user.email aciattestteamci@deque.com
Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Tests

on:
pull_request:
branches:
- develop
workflow_call:

jobs:

react:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/dependencies
with:
root: false
packages-react: true
packages-styles: true
- name: Build packages
run: |
NODE_ENV=production yarn --cwd packages/react build
- run: yarn test

a11y:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/dependencies
with:
packages-react: true
packages-styles: true
- name: Build packages
run: |
NODE_ENV=production yarn --cwd packages/react build
NODE_ENV=production yarn --cwd packages/styles build
- run: yarn build:docs
- run: yarn test:a11y
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [5.13.0](https://github.com/dequelabs/cauldron/compare/v5.12.0...v5.13.0) (2023-12-01)


### Features

* **Combobox:** allow combobox to take an input ref ([#1297](https://github.com/dequelabs/cauldron/issues/1297)) ([6dd5a34](https://github.com/dequelabs/cauldron/commit/6dd5a3404e743f0ec246056c2fe81666e064ce1c))
* **Dialog:** ensure that dialogs are labelled by their heading ([#1260](https://github.com/dequelabs/cauldron/issues/1260)) ([e08b517](https://github.com/dequelabs/cauldron/commit/e08b5178d26dddcac433c170dd411820194121b0))

## [5.12.0](https://github.com/dequelabs/cauldron/compare/v5.11.0...v5.12.0) (2023-11-10)


Expand Down
Loading

0 comments on commit 0c2d2d2

Please sign in to comment.