Skip to content

Commit

Permalink
ci(pub_server): Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Dillon Nys committed Aug 2, 2023
1 parent 9844eb2 commit a3f7814
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
12 changes: 12 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ updates:
- "version-update:semver-patch"
- dependency-name: "aws_common"
- dependency-name: "amplify_lints"
- dependency-name: "pub_server"
- dependency-name: "smithy"
- dependency-name: "smithy_codegen"
- dependency-name: "aws_signature_v4"
Expand Down Expand Up @@ -1376,6 +1377,17 @@ updates:
- dependency-name: "aws_common"
- dependency-name: "amplify_lints"
- dependency-name: "aws_signature_v4"
- package-ecosystem: "pub"
directory: "packages/test/pub_server"
schedule:
interval: "daily"
ignore:
# Ignore patch version bumps
- dependency-name: "*"
update-types:
- "version-update:semver-patch"
- dependency-name: "aws_common"
- dependency-name: "amplify_lints"
- package-ecosystem: "pub"
directory: "packages/worker_bee/e2e"
schedule:
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/pub_server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@ on:
- stable
pull_request:
paths:
- '.github/workflows/dart_vm.yaml'
- '.github/workflows/dart_native.yaml'
- '.github/workflows/dart_vm.yaml'
- '.github/workflows/pub_server.yaml'
- 'packages/amplify_lints/lib/**/*.yaml'
- 'packages/amplify_lints/pubspec.yaml'
- 'packages/aws_common/lib/**/*.dart'
- 'packages/aws_common/pubspec.yaml'
- 'packages/test/pub_server/**/*.dart'
- 'packages/test/pub_server/**/*.yaml'
- 'packages/test/pub_server/lib/**/*'
- 'packages/test/pub_server/test/**/*'
- 'packages/aws_common/pubspec.yaml'
- 'packages/aws_common/lib/**/*.dart'
schedule:
- cron: "0 0 * * 0" # Every Sunday at 00:00
defaults:
Expand All @@ -27,9 +29,11 @@ jobs:
test:
uses: ./.github/workflows/dart_vm.yaml
with:
package-name: pub_server
working-directory: packages/test/pub_server
native_test:
needs: test
uses: ./.github/workflows/dart_native.yaml
with:
package-name: pub_server
working-directory: packages/test/pub_server

0 comments on commit a3f7814

Please sign in to comment.