Skip to content

Commit

Permalink
Fixed CI - build only against Tumbleweed
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Nov 6, 2023
1 parent 1702df5 commit d502cf3
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@

# See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions

name: CI

on: [push, pull_request]
on: [ push, pull_request ]

jobs:
Package:
Expand All @@ -12,26 +11,25 @@ jobs:
strategy:
fail-fast: false
matrix:
distro: [ "tumbleweed", "leap_latest" ]
distro: [ "tumbleweed" ]

container:
image: registry.opensuse.org/yast/head/containers_${{matrix.distro}}/yast-ruby

steps:
- name: Git Checkout
uses: actions/checkout@v3

- name: Git Checkout
uses: actions/checkout@v3

- name: Prepare System
run: zypper --non-interactive in --no-recommends breeze5-icons npm-default
- 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
# 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: Stylelint
run: cd src && npx gulp lint

- name: Package Build
run: yast-ci-ruby
- name: Package Build
run: yast-ci-ruby

0 comments on commit d502cf3

Please sign in to comment.