Skip to content

Merge pull request #166 from yast/dependabot/npm_and_yarn/src/postcss… #196

Merge pull request #166 from yast/dependabot/npm_and_yarn/src/postcss…

Merge pull request #166 from yast/dependabot/npm_and_yarn/src/postcss… #196

Workflow file for this run

# See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
name: CI
on: [push, pull_request]
jobs:
Package:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
distro: [ "tumbleweed", "leap_latest" ]
container:
image: registry.opensuse.org/yast/head/containers_${{matrix.distro}}/yast-ruby
steps:
- name: Git Checkout
uses: actions/checkout@v2
- name: Git Fix
# fix the ownership to pass a git security check
run: chown "$UID" .
- 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
# reset possible package-lock changes
run: rake generate && git checkout src/package-lock.json
- name: Stylelint
run: cd src && npx gulp lint
- name: Package Build
run: yast-ci-ruby