This commit is contained in:
Andras Schmelczer 2025-01-05 21:12:51 +00:00
parent 2e1ed1fd94
commit 509f214e62
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
2 changed files with 5 additions and 5 deletions

View file

@ -49,9 +49,9 @@ jobs:
- name: Lint frontend
run: |
cd plugin
npm install
npm ci
npm run lint
if [[ -n $(git status --porcelain) ]]; then
if [[ $(git status --porcelain) ]]; then
git status --porcelain
echo "Failing CI because the working directory is not clean after linting."
exit 1
@ -60,5 +60,5 @@ jobs:
- name: Test frontend
run: |
cd plugin
npm install
npm ci
npm run test

View file

@ -29,7 +29,7 @@ jobs:
- name: Build plugin
run: |
cd plugin
npm install
npm ci
npm run build
- name: Create release
@ -38,7 +38,7 @@ jobs:
run: |
tag="${GITHUB_REF#refs/tags/}"
cd plugin/build
cd plugin/dist
gh release create "$tag" \
--title="$tag" \