Skip to content

Commit

Permalink
fix: 💚 all workflows need to be at root
Browse files Browse the repository at this point in the history
Signed-off-by: Newton <5769156+iamnewton@users.noreply.github.com>
  • Loading branch information
iamnewton committed Oct 23, 2024
1 parent 778e11b commit d1a53f0
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
setup:
uses: ./.github/workflows/common/setup.yml
uses: ./.github/workflows/setup.workflow.yml
with:
cache-key: ${{ runner.os }}-npm-v1-${{ hashFiles('**/package-lock.json') }}

Expand All @@ -18,4 +18,4 @@ jobs:
steps:
- id: audit-bundle-size
name: Check bundle size
uses: ./.github/workflows/common/bundlewatch.yml
uses: ./.github/workflows/bundlewatch.workflow.yml
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
steps:
- id: deploy-github-pages
name: Deploy to GitHub Pages
uses: ./.github/workflows/common/storybook.yml
uses: ./.github/workflows/storybook.workflow.yml
12 changes: 7 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,21 @@ permissions:
contents: read

jobs:
setup:
uses: ./.github/workflows/setup.workflow.yml
with:
cache-key: ${{ runner.os }}-npm-v1-${{ hashFiles('**/package-lock.json') }}
fetch-depth: 0

super-lint:
needs: setup
permissions:
# To write linting fixes
contents: write
# To write Super-linter status checks
statuses: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Super-Linter
uses: super-linter/super-linter/slim@v7.1.0
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
setup:
uses: ./.github/workflows/common/setup.yml
uses: ./.github/workflows/setup.workflow.yml
with:
cache-key: ${{ runner.os }}-npm-v1-${{ hashFiles('**/package-lock.json') }}

Expand All @@ -23,4 +23,4 @@ jobs:
steps:
- id: release-npm
name: Publish to NPM
uses: ./.github/workflows/common/changesets.yml
uses: ./.github/workflows/changesets.workflow.yml
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
setup:
uses: ./.github/workflows/common/setup.yml
uses: ./.github/workflows/setup.workflow.yml
with:
cache-key: ${{ runner.os }}-npm-v1-${{ hashFiles('**/package-lock.json') }}
fetch-depth: 0
Expand All @@ -17,7 +17,7 @@ jobs:
steps:
- id: test-visual-composition
name: Test Visual and Composition
uses: ./.github/workflows/common/chromatic.yml
uses: ./.github/workflows/chromatic.workflow.yml

# Run interaction and accessibility tests
interaction-and-accessibility:
Expand All @@ -40,4 +40,4 @@ jobs:
steps:
- id: test-user-flow
name: Test User Flow
uses: ./.github/workflows/common/cypress.yml
uses: ./.github/workflows/cypress.workflow.yml

0 comments on commit d1a53f0

Please sign in to comment.