Skip to content

Commit c7f4d3c

Browse files
authored
Add e2e tests (#1)
1 parent 6f306a9 commit c7f4d3c

13 files changed

Lines changed: 368 additions & 35 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ jobs:
1111
name: Test
1212
runs-on: ubuntu-latest
1313
timeout-minutes: 10
14+
env:
15+
# Save dprint plugins cache to node_nodules in CI for simpler caching
16+
DPRINT_CACHE_DIR: ${{ github.workspace }}/node_modules/.dprint-cache
1417
steps:
1518
- name: Check out repo
1619
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -24,6 +27,11 @@ jobs:
2427
node-version: 24
2528
cache: pnpm
2629

30+
- name: Set up Deno
31+
uses: denoland/setup-deno@667a34cdef165d8d2b2e98dde39547c9daac7282 # v2.0.4
32+
with:
33+
deno-version: 2.x
34+
2735
- name: Install dependencies
2836
run: pnpm install
2937

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@
3030
"typescript": "~6.0.3",
3131
"vitest": "^4.1.5"
3232
},
33-
"packageManager": "pnpm@11.0.8"
33+
"packageManager": "pnpm@11.1.0"
3434
}

pnpm-lock.yaml

Lines changed: 230 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
packages:
2+
- "tests/fixtures/*"
3+
4+
allowBuilds:
5+
dprint: true
6+
17
dedupePeers: true
28

39
overrides:

0 commit comments

Comments
 (0)