Skip to content

Bump postcss-selector-parser from 7.1.1 to 7.1.5 #35

Bump postcss-selector-parser from 7.1.1 to 7.1.5

Bump postcss-selector-parser from 7.1.1 to 7.1.5 #35

Workflow file for this run

name: Build
on:
push:
branches: [main]
tags: ['v*']
pull_request:
permissions:
contents: write
jobs:
package:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Build bundle
run: make
- name: Lint and test
run: make check
- name: Install nfpm
if: startsWith(github.ref, 'refs/tags/')
run: |
NFPM_VERSION=2.41.3
curl -sSfL "https://github.com/goreleaser/nfpm/releases/download/v${NFPM_VERSION}/nfpm_${NFPM_VERSION}_amd64.deb" -o /tmp/nfpm.deb
sudo apt-get install -y /tmp/nfpm.deb
- name: Package deb + rpm
if: startsWith(github.ref, 'refs/tags/')
run: |
export VERSION="${GITHUB_REF_NAME#v}"
make package
cp out/cockpit-cotbridge_*_all.deb out/cockpit-cotbridge_latest_all.deb
ls -la out/
- name: Release
if: startsWith(github.ref, 'refs/tags/')
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release view "${GITHUB_REF_NAME}" >/dev/null 2>&1 || \
gh release create "${GITHUB_REF_NAME}" --title "${GITHUB_REF_NAME}" --generate-notes
gh release upload "${GITHUB_REF_NAME}" out/* --clobber