Skip to content

Commit fffc759

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

2 files changed

Lines changed: 17 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 16 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,22 @@ jobs:
3829
**/dist/
3930
!**/node_modules
4031
32+
test:
33+
needs:
34+
- build
35+
runs-on: ubuntu-latest
36+
steps:
37+
- name: Setup JS
38+
uses: zotero-plugin-dev/workflows/setup-js@main
39+
40+
- name: Restore Build Result
41+
uses: actions/download-artifact@v7
42+
with:
43+
name: build-result
44+
45+
- name: Test
46+
run: pnpm test
47+
4148
docs:
4249
runs-on: ubuntu-latest
4350
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)