Fix CI
This commit is contained in:
parent
2e1ed1fd94
commit
509f214e62
2 changed files with 5 additions and 5 deletions
6
.github/workflows/check.yml
vendored
6
.github/workflows/check.yml
vendored
|
|
@ -49,9 +49,9 @@ jobs:
|
||||||
- name: Lint frontend
|
- name: Lint frontend
|
||||||
run: |
|
run: |
|
||||||
cd plugin
|
cd plugin
|
||||||
npm install
|
npm ci
|
||||||
npm run lint
|
npm run lint
|
||||||
if [[ -n $(git status --porcelain) ]]; then
|
if [[ $(git status --porcelain) ]]; then
|
||||||
git status --porcelain
|
git status --porcelain
|
||||||
echo "Failing CI because the working directory is not clean after linting."
|
echo "Failing CI because the working directory is not clean after linting."
|
||||||
exit 1
|
exit 1
|
||||||
|
|
@ -60,5 +60,5 @@ jobs:
|
||||||
- name: Test frontend
|
- name: Test frontend
|
||||||
run: |
|
run: |
|
||||||
cd plugin
|
cd plugin
|
||||||
npm install
|
npm ci
|
||||||
npm run test
|
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
|
- name: Build plugin
|
||||||
run: |
|
run: |
|
||||||
cd plugin
|
cd plugin
|
||||||
npm install
|
npm ci
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
|
|
@ -38,7 +38,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
tag="${GITHUB_REF#refs/tags/}"
|
tag="${GITHUB_REF#refs/tags/}"
|
||||||
|
|
||||||
cd plugin/build
|
cd plugin/dist
|
||||||
|
|
||||||
gh release create "$tag" \
|
gh release create "$tag" \
|
||||||
--title="$tag" \
|
--title="$tag" \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue