Skip to content

Commit

Permalink
Fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
borisbelmar committed Apr 25, 2024
1 parent 9c90f77 commit d37ed2b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/workflows/an-core-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
needs: [lint-and-test]
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/an-react-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
needs: [lint-and-test]
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
jobs:
codecov:
runs-on: ubuntu-latest
needs: [lint-and-test]

steps:
- name: Checkout code
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/demo-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
needs: [lint-and-test]
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -35,16 +34,16 @@ jobs:
run: yarn build --filter=core-demo --filter=react-demo --filter=@arrow-navigation/react --filter=@arrow-navigation/core

- name: Deploy Core Demo
if: steps.filter.outputs.core == 'true'
working-directory: ./apps/core-demo
uses: cloudflare/wrangler-action@v3
if: steps.filter.outputs.core == 'true'
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
workingDirectory: ./apps/core-demo

- name: Deploy React Demo
if: steps.filter.outputs.react == 'true'
working-directory: ./apps/react-demo
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
workingDirectory: ./apps/react-demo

0 comments on commit d37ed2b

Please sign in to comment.