Skip to content

Commit

Permalink
no intermediate build step
Browse files Browse the repository at this point in the history
  • Loading branch information
scurker committed Nov 6, 2023
1 parent 5442588 commit d419906
Showing 1 changed file with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,39 +7,25 @@ on:

jobs:

build:
react:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/dependencies
with:
packages-react: true
packages-styles: true
- run: yarn build:react
- run: yarn build:styles
- uses: actions/upload-artifact@v3
with:
name: dist
path: |
packages/react/lib
packages/style/dist
retention-days: 1

react:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
with:
name: dist
- run: yarn test

a11y:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/dependencies
with:
name: dist
packages-react: true
packages-styles: true
- run: yarn build:docs
- run: yarn test:a11y

0 comments on commit d419906

Please sign in to comment.