-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
147 additions
and
25 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: check if monorepo config needs regenerated (npm run regenerate) | ||
on: | ||
pull_request: | ||
branches: [ main ] | ||
push: | ||
branches: [ main ] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16.x | ||
cache: 'npm' | ||
- run: npm install | ||
- run: npm run regenerate | ||
- run: ./scripts/check-for-changes.bash |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Percy components/o-audio | ||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
paths: | ||
- "components/o-audio/package.json" | ||
- "components/o-audio/package-lock.json" | ||
- "components/o-audio/origami.json" | ||
- "components/o-audio/main.js" | ||
- "components/o-audio/main.scss" | ||
- "components/o-audio/demos/**" | ||
- "components/o-audio/src/**" | ||
push: | ||
branches: main | ||
paths: | ||
- "components/o-audio/package.json" | ||
- "components/o-audio/package-lock.json" | ||
- "components/o-audio/origami.json" | ||
- "components/o-audio/main.js" | ||
- "components/o-audio/main.scss" | ||
- "components/o-audio/demos/**" | ||
- "components/o-audio/src/**" | ||
|
||
jobs: | ||
percy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
cache: 'npm' | ||
node-version: 16 | ||
- run: npm ci | ||
- uses: ./actions/percy/ | ||
with: | ||
# To comment as the Origami Fox mascot GitHub user | ||
github-token: ${{secrets.ORIGAMI_FOX_ACCESS_TOKEN}} | ||
env: | ||
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_AUDIO }} | ||
WORKSPACE: components/o-audio |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: test components/o-audio | ||
concurrency: | ||
group: ${{ github.head_ref }}-components/o-audio | ||
cancel-in-progress: true | ||
|
||
on: | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16.x | ||
cache: 'npm' | ||
- run: npm ci | ||
- run: npx npm exec -w components/o-audio -- origami-build-tools verify | ||
- run: npx npm exec -w components/o-audio -- origami-build-tools test |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,53 @@ | ||
{ | ||
"components/o-autocomplete": "1.3.4", | ||
"components/o-autoinit": "3.1.0", | ||
"components/o-audio": "2.0.0", | ||
"components/o-autocomplete": "1.3.0", | ||
"components/o-banner": "4.0.0", | ||
"components/o-brand": "4.0.3", | ||
"components/o-big-number": "3.0.0", | ||
"components/o-buttons": "7.0.0", | ||
"components/o-colors": "6.2.2", | ||
"components/o-colors": "6.1.0", | ||
"components/o-comments": "8.1.1", | ||
"components/o-cookie-message": "6.0.1", | ||
"components/o-date": "5.0.0", | ||
"components/o-editorial-layout": "2.0.0", | ||
"components/o-date": "5.0.1", | ||
"components/o-editorial-layout": "2.0.1", | ||
"components/o-editorial-typography": "2.0.2", | ||
"components/o-errors": "5.1.0", | ||
"components/o-expander": "6.0.0", | ||
"components/o-fonts": "5.0.2", | ||
"components/o-footer": "9.1.0", | ||
"components/o-footer": "9.0.1", | ||
"components/o-footer-services": "4.0.2", | ||
"components/o-forms": "9.0.1", | ||
"components/o-ft-affiliate-ribbon": "5.0.0", | ||
"components/o-grid": "6.0.0", | ||
"components/o-header": "9.0.2", | ||
"components/o-header-services": "5.0.2", | ||
"components/o-header": "9.0.1", | ||
"components/o-header-services": "5.0.1", | ||
"components/o-icons": "7.0.1", | ||
"components/o-labels": "6.0.0", | ||
"components/o-layout": "5.0.4", | ||
"components/o-lazy-load": "3.0.0", | ||
"components/o-loading": "5.0.0", | ||
"components/o-message": "5.0.0", | ||
"components/o-meter": "3.0.0", | ||
"components/o-normalise": "3.0.1", | ||
"components/o-overlay": "4.0.0", | ||
"components/o-quote": "5.0.1", | ||
"components/o-share": "8.0.0", | ||
"components/o-spacing": "3.0.1", | ||
"components/o-stepped-progress": "3.0.0", | ||
"components/o-subs-card": "5.0.1", | ||
"components/o-subs-card": "6.0.0", | ||
"components/o-syntax-highlight": "4.0.0", | ||
"components/o-table": "9.1.1", | ||
"components/o-table": "9.0.2", | ||
"components/o-tabs": "6.0.0", | ||
"components/o-teaser": "6.0.2", | ||
"components/o-teaser-collection": "4.0.0", | ||
"components/o-toggle": "3.0.0", | ||
"components/o-tooltip": "5.0.1", | ||
"components/o-topper": "5.1.0", | ||
"components/o-tracking": "4.1.2", | ||
"components/o-topper": "5.0.1", | ||
"components/o-typography": "7.0.2", | ||
"components/o-video": "7.0.1", | ||
"components/o-viewport": "5.0.1", | ||
"components/o-visual-effects": "4.0.2", | ||
"libraries/o-utils": "3.1.0" | ||
"components/o-video": "7.0.2", | ||
"components/o-viewport": "5.0.0", | ||
"components/o-visual-effects": "4.0.1", | ||
"libraries/o-autoinit": "3.0.0", | ||
"libraries/o-brand": "4.0.2", | ||
"libraries/o-errors": "5.1.0", | ||
"libraries/o-tracking": "4.1.2", | ||
"libraries/o-utils": "2.0.0" | ||
} |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
if [ $(git diff | wc -l) -gt 0 ]; then | ||
echo something changed | ||
echo | ||
echo 'run "npm install" and "npm run regenerate" and commit the changes' | ||
exit 22 | ||
fi |
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