Clean merge of SP7 #211
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions | |
name: CI | |
on: [ push, pull_request ] | |
jobs: | |
Package: | |
# skip in master, but run in forks | |
if: github.ref_name != 'master' || github.repository_owner != 'yast' | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
distro: [ "tumbleweed" ] | |
container: | |
image: registry.opensuse.org/yast/head/containers_${{matrix.distro}}/yast-ruby | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v3 | |
- name: Prepare System | |
run: zypper --non-interactive in --no-recommends breeze5-icons npm-default | |
# if the included files are not up to date and there is a change in the | |
# generated file then the package build later fails | |
- name: Build QSS and CSS files | |
run: rake generate | |
- name: Stylelint | |
run: cd src && npx gulp lint | |
- name: Package Build | |
run: yast-ci-ruby |