Skip to content

Commit 499143f

Browse files
authored
fix: Correct formatting strategy for publishing on jsr (denodrivers#474)
1 parent 5e9075a commit 499143f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/publish_jsr.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,15 @@ jobs:
2222

2323
- name: Set up Deno
2424
uses: denoland/setup-deno@v1
25+
26+
- name: Check Format
27+
run: deno fmt --check
2528

2629
- name: Convert to JSR package
2730
run: deno run -A tools/convert_to_jsr.ts
2831

29-
- name: Format
30-
run: deno fmt --check
32+
- name: Format converted code
33+
run: deno fmt
3134

3235
- name: Lint
3336
run: deno lint
@@ -47,4 +50,4 @@ jobs:
4750

4851
- name: Publish (real)
4952
if: startsWith(github.ref, 'refs/tags/')
50-
run: deno publish
53+
run: deno publish

0 commit comments

Comments
 (0)