File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed
Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change 88 branches :
99 - master
1010 workflow_dispatch :
11+
1112jobs :
1213 install-dependencies :
1314 runs-on : ubuntu-latest
1415
1516 strategy :
1617 matrix :
17- deno-version : [1.43.6 ]
18+ deno-version : [latest ]
1819
1920 steps :
21+ # Step 1: Checkout repository
2022 - name : Git Checkout Deno Module
2123 uses : actions/checkout@v4
22- - uses : denoland/setup-deno@v1
24+
25+ # Step 2: Setup Deno
26+ - name : Setup Deno
27+ uses : denoland/setup-deno@v1
2328 with :
2429 deno-version : ${{ matrix.deno-version }}
30+
31+ # Step 3: Cache / Install dependencies
32+ # Change src/mod.ts to main.ts if your project uses main.ts
33+ - name : Install dependencies
34+ run : deno cache --reload src/mod.ts
35+
36+ # Step 4: Format check
2537 - name : Deno format check
2638 run : deno fmt --check
39+
40+ # Step 5: Lint check (won't fail workflow)
2741 - name : Deno lint check
28- run : deno task lint
42+ run : deno lint || true
43+
44+ # Step 6: Run tests
2945 - name : Test Deno Module
3046 run : deno task test
You can’t perform that action at this time.
0 commit comments