Skip to content

build(deps-dev): bump stylelint from 17.5.0 to 17.6.0 in the stylelint group across 1 directory #392

build(deps-dev): bump stylelint from 17.5.0 to 17.6.0 in the stylelint group across 1 directory

build(deps-dev): bump stylelint from 17.5.0 to 17.6.0 in the stylelint group across 1 directory #392

Workflow file for this run

name: Pull Request
on:
pull_request:
types:
- opened
- edited
- synchronize
- reopened
jobs:
checks:
runs-on: ubuntu-latest
container:
image: registry.opensuse.org/opensuse/bci/nodejs:latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 20
cache: npm
- name: install deps
run: npm ci && zypper install -y cockpit-devel make gettext-tools
- name: add cockpit-bootloader as a safe safe directory
run: git config --global --add safe.directory /__w/cockpit-bootloader/cockpit-bootloader
- name: build
run: make && npm run build
- name: eslint
run: npm run eslint
- name: stylelint
run: npm run stylelint
- name: typecheck
run: npm run typecheck
- name: pot file changed but not commited
run: |
touch org.cockpit_project.bootloader.metainfo.xml src/index.tsx
make po/bootloader.pot
git --no-pager diff po/bootloader.pot
[ "$(git diff --numstat po/bootloader.pot | cut -f1)" -gt 2 ] || \
[ "$(git diff --numstat po/bootloader.pot | cut -f2)" -gt 2 ] \
&& echo "po/bootloader.pot has changed. Failing test" \
&& exit 1
echo "No changes other than expected timestamps"
exit 0