Skip to content

Commit f317d2a

Browse files
committed
ci: fix test
1 parent bc69f0b commit f317d2a

2 files changed

Lines changed: 15 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,6 @@ on:
1212
workflow_dispatch:
1313

1414
jobs:
15-
test:
16-
runs-on: ubuntu-latest
17-
steps:
18-
- name: Setup JS
19-
uses: zotero-plugin-dev/workflows/setup-js@main
20-
21-
- name: Test
22-
run: pnpm test
23-
2415
build:
2516
runs-on: ubuntu-latest
2617
steps:
@@ -38,6 +29,20 @@ jobs:
3829
**/dist/
3930
!**/node_modules
4031
32+
test:
33+
runs-on: ubuntu-latest
34+
steps:
35+
- name: Setup JS
36+
uses: zotero-plugin-dev/workflows/setup-js@main
37+
38+
- name: Restore Build Result
39+
uses: actions/download-artifact@v7
40+
with:
41+
name: build-result
42+
43+
- name: Test
44+
run: pnpm test
45+
4146
docs:
4247
runs-on: ubuntu-latest
4348
needs:

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"json",
3636
"jsonc",
3737
"yaml",
38+
"yml",
3839
"toml",
3940
"xml",
4041
"gql",

0 commit comments

Comments
 (0)