Bump postcss from 8.5.14 to 8.5.25 #23
This file contains hidden or 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
| 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-charontak_*_all.deb out/cockpit-charontak_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 |