This commit is contained in:
Andras Schmelczer 2025-01-05 21:12:51 +00:00
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 - 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

View file

@ -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" \