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
|
||||
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
|
||||
|
|
|
|||
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
|
||||
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" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue