Fix CI
This commit is contained in:
parent
614e4a780a
commit
450bddf900
3 changed files with 7 additions and 6 deletions
4
.github/workflows/check.yml
vendored
4
.github/workflows/check.yml
vendored
|
|
@ -48,7 +48,7 @@ jobs:
|
|||
|
||||
- name: Lint frontend
|
||||
run: |
|
||||
cd plugin
|
||||
cd frontend
|
||||
npm ci
|
||||
npm run lint
|
||||
if [[ $(git status --porcelain) ]]; then
|
||||
|
|
@ -59,6 +59,6 @@ jobs:
|
|||
|
||||
- name: Test frontend
|
||||
run: |
|
||||
cd plugin
|
||||
cd frontend
|
||||
npm ci
|
||||
npm run test
|
||||
|
|
|
|||
4
.github/workflows/publish-plugin.yml
vendored
4
.github/workflows/publish-plugin.yml
vendored
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
|
||||
- name: Build plugin
|
||||
run: |
|
||||
cd plugin
|
||||
cd frontend
|
||||
npm ci
|
||||
npm run build
|
||||
|
||||
|
|
@ -39,7 +39,7 @@ jobs:
|
|||
run: |
|
||||
tag="${GITHUB_REF#refs/tags/}"
|
||||
|
||||
cd plugin/dist
|
||||
cd frontend/obsidian-plugin/dist
|
||||
|
||||
gh release create "$tag" \
|
||||
--title="$tag" \
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "sync-client",
|
||||
"version": "1.0.0",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/types/index.d.ts",
|
||||
"scripts": {
|
||||
|
|
@ -25,4 +26,4 @@
|
|||
"webpack": "^5.98.0",
|
||||
"webpack-cli": "^6.0.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue