diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9b6bb7b..db754c9 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,10 +1,15 @@ version: 2 updates: # Each example has its own lockfile: one update per example, aparté's packages together. + # Minor and patch versions only: a major can change the code an example, or an article + # built on it, shows, so it is done by hand. - package-ecosystem: npm directories: ['/*'] schedule: interval: weekly + ignore: + - dependency-name: '*' + update-types: ['version-update:semver-major'] groups: aparte: patterns: ['@aparte/*'] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1396893..94b1f4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,3 +41,12 @@ jobs: - run: npm ci - run: npm run check - run: npm run build + + # The one check main requires: it passes when every example does, however many there are. + all: + name: all examples + if: always() + needs: [list, example] + runs-on: ubuntu-latest + steps: + - run: test "${{ needs.list.result }}" = success && test "${{ needs.example.result }}" = success