Skip to content

Commit

Permalink
Merge branch 'develop' into remove-prop-types
Browse files Browse the repository at this point in the history
  • Loading branch information
scurker authored Nov 15, 2023
2 parents 762c64a + c208903 commit 174d9af
Show file tree
Hide file tree
Showing 52 changed files with 1,297 additions and 2,667 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.

39 changes: 39 additions & 0 deletions .github/actions/dependencies/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
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'
- 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' }}
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 2

updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
open-pull-requests-limit: 10
commit-message:
prefix: 'chore'
groups:
# Any updates not caught by the group config will get individual PRs
gha-low-risk:
update-types:
- 'minor'
- 'patch'
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
name: Create Release PR
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
- run: yarn
Expand Down
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
23 changes: 0 additions & 23 deletions .github/workflows/preview-cleanup.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/preview.yml

This file was deleted.

Loading

0 comments on commit 174d9af

Please sign in to comment.