Skip to content

Commit

Permalink
chore: Move percy from the actions folder to the scripts folder and r…
Browse files Browse the repository at this point in the history
…emove actions from being a workspace
  • Loading branch information
JakeChampion committed Sep 23, 2021
1 parent 294a01d commit f519b79
Show file tree
Hide file tree
Showing 57 changed files with 686 additions and 234 deletions.
5 changes: 0 additions & 5 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
components:
- components/**/*

actions:
- actions/**/*

libraries:
- libraries/**/*

Expand All @@ -19,8 +16,6 @@ tools:
templates:
- templates/**/*

percy:
- actions/percy/**/*
n-notification:
- components/n-notification/**/*
o-audio:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-n-notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_N_NOTIFICATION }}
WORKSPACE: components/n-notification
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-audio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_AUDIO }}
WORKSPACE: components/o-audio
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-autocomplete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_AUTOCOMPLETE }}
WORKSPACE: components/o-autocomplete
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-banner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_BANNER }}
WORKSPACE: components/o-banner
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-big-number.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_BIG_NUMBER }}
WORKSPACE: components/o-big-number
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-buttons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_BUTTONS }}
WORKSPACE: components/o-buttons
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-colors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_COLORS }}
WORKSPACE: components/o-colors
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-comments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_COMMENTS }}
WORKSPACE: components/o-comments
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-cookie-message.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_COOKIE_MESSAGE }}
WORKSPACE: components/o-cookie-message
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-date.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_DATE }}
WORKSPACE: components/o-date
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-editorial-layout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_EDITORIAL_LAYOUT }}
WORKSPACE: components/o-editorial-layout
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_EDITORIAL_TYPOGRAPHY }}
WORKSPACE: components/o-editorial-typography
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-expander.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_EXPANDER }}
WORKSPACE: components/o-expander
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-fonts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_FONTS }}
WORKSPACE: components/o-fonts
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-footer-services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_FOOTER_SERVICES }}
WORKSPACE: components/o-footer-services
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-footer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_FOOTER }}
WORKSPACE: components/o-footer
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-forms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_FORMS }}
WORKSPACE: components/o-forms
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_FT_AFFILIATE_RIBBON }}
WORKSPACE: components/o-ft-affiliate-ribbon
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-grid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_GRID }}
WORKSPACE: components/o-grid
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-header-services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_HEADER_SERVICES }}
WORKSPACE: components/o-header-services
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-header.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_HEADER }}
WORKSPACE: components/o-header
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-icons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_ICONS }}
WORKSPACE: components/o-icons
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_LABELS }}
WORKSPACE: components/o-labels
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-layout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_LAYOUT }}
WORKSPACE: components/o-layout
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-lazy-load.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_LAZY_LOAD }}
WORKSPACE: components/o-lazy-load
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-loading.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_LOADING }}
WORKSPACE: components/o-loading
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-message.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_MESSAGE }}
WORKSPACE: components/o-message
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-meter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_METER }}
WORKSPACE: components/o-meter
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-normalise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_NORMALISE }}
WORKSPACE: components/o-normalise
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-overlay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_OVERLAY }}
WORKSPACE: components/o-overlay
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-quote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_QUOTE }}
WORKSPACE: components/o-quote
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-share.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_SHARE }}
WORKSPACE: components/o-share
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-spacing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_SPACING }}
WORKSPACE: components/o-spacing
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-stepped-progress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_STEPPED_PROGRESS }}
WORKSPACE: components/o-stepped-progress
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-subs-card.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_SUBS_CARD }}
WORKSPACE: components/o-subs-card
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-syntax-highlight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_SYNTAX_HIGHLIGHT }}
WORKSPACE: components/o-syntax-highlight
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-table.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_TABLE }}
WORKSPACE: components/o-table
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-tabs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_TABS }}
WORKSPACE: components/o-tabs
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-teaser-collection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_TEASER_COLLECTION }}
WORKSPACE: components/o-teaser-collection
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-teaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_TEASER }}
WORKSPACE: components/o-teaser
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-toggle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_TOGGLE }}
WORKSPACE: components/o-toggle
2 changes: 1 addition & 1 deletion .github/workflows/percy-components-o-tooltip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'
node-version: 16
- run: npm ci
- run: node ./actions/percy/src/index.js
- run: node ./scripts/percy.js
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_COMPONENTS_O_TOOLTIP }}
WORKSPACE: components/o-tooltip
Loading

0 comments on commit f519b79

Please sign in to comment.