Skip to content

Commit

Permalink
chore: add nuts tests for plugin-templates, enable automerge for depe…
Browse files Browse the repository at this point in the history
…ndabot
  • Loading branch information
CristiCanizales committed Aug 22, 2024
1 parent 0bcd077 commit 04cb91e
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,20 @@ updates:
- package-ecosystem: npm
directory: '/src/templates/project'
schedule:
interval: daily
open-pull-requests-limit: 10
interval: 'weekly'
day: 'saturday'
versioning-strategy: 'increase'
labels:
- 'dependencies'
open-pull-requests-limit: 5
pull-request-branch-name:
separator: '-'
commit-message:
# cause a release for non-dev-deps
prefix: fix(deps)
# no release for dev-deps
prefix-development: chore(dev-deps)
ignore:
- dependency-name: '@salesforce/dev-scripts'
- dependency-name: '*'
update-types: ['version-update:semver-major']
10 changes: 10 additions & 0 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: automerge
on:
workflow_dispatch:
schedule:
- cron: '42 2,5,8,11 * * *'

jobs:
automerge:
uses: salesforcecli/github-workflows/.github/workflows/automerge.yml@main
secrets: inherit
16 changes: 16 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,19 @@ jobs:
uses: ./.github/workflows/unitTestsLinux.yml
windows-unit-tests:
uses: ./.github/workflows/unitTestsWindows.yml
xNuts:
needs: linux-unit-tests
uses: salesforcecli/github-workflows/.github/workflows/externalNut.yml@main
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'windows-latest']
with:
packageName: '@salesforce/templates'
externalProjectGitUrl: 'https://github.com/salesforcecli/plugin-templates'
ignoreScripts: true
os: ${{ matrix.os }}
preSwapCommands: 'yarn upgrade @salesforce/core; npx yarn-deduplicate; yarn install'
preExternalBuildCommands: 'npm why @salesforce/core --json'
useCache: false
secrets: inherit

0 comments on commit 04cb91e

Please sign in to comment.