diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 4851fc4..8b4845b 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,25 +1,8 @@ version: 2 updates: -- package-ecosystem: npm - directory: "/" - schedule: - interval: daily - time: "10:00" - open-pull-requests-limit: 10 - ignore: - - dependency-name: husky - versions: - - 5.0.9 - - 5.1.0 - - 5.1.1 - - 5.1.2 - - 5.1.3 - - 5.2.0 - - dependency-name: "@commitlint/config-conventional" - versions: - - 12.0.0 - - 12.0.1 - - dependency-name: "@commitlint/cli" - versions: - - 12.0.0 - - 12.0.1 + - package-ecosystem: npm + directory: '/' + schedule: + interval: daily + time: '10:00' + open-pull-requests-limit: 10 diff --git a/.github/workflows/lint-pr.yml b/.github/workflows/lint-pr.yml index ad6df65..9050f17 100644 --- a/.github/workflows/lint-pr.yml +++ b/.github/workflows/lint-pr.yml @@ -1,4 +1,4 @@ -name: "Lint PR" +name: 'Lint PR' on: pull_request_target: @@ -12,6 +12,6 @@ jobs: name: Validate PR title runs-on: ubuntu-latest steps: - - uses: amannn/action-semantic-pull-request@v4 + - uses: amannn/action-semantic-pull-request@v5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e218a53..c6e83fa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [main] + branches: [main, next] pull_request: - branches: [main] + branches: [main, next] concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/package.json b/package.json index d6a153d..20bc1c2 100644 --- a/package.json +++ b/package.json @@ -72,6 +72,7 @@ "devDependencies": { "@sveltejs/vite-plugin-svelte": "^2.4.2", "@testing-library/jest-dom": "^6.3.0", + "@testing-library/user-event": "^14.5.2", "@typescript-eslint/eslint-plugin": "6.19.1", "@typescript-eslint/parser": "6.19.1", "@vitest/coverage-v8": "^0.33.0", diff --git a/src/__tests__/fixtures/Transitioner.svelte b/src/__tests__/fixtures/Transitioner.svelte new file mode 100644 index 0000000..2ee1557 --- /dev/null +++ b/src/__tests__/fixtures/Transitioner.svelte @@ -0,0 +1,18 @@ + + + + +{#if show} +
Done
+ {:else} +Pending
+ {/if} +