Repository navigation
fix(build): preserve prerelease ordering in Arch packages #3
Workflow file for this run
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: Arch package | |
| on: | |
| pull_request: | |
| paths: | |
| - "scripts/build-linux-arch-package*" | |
| - ".github/workflows/arch-package.yml" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Arch package versions | |
| runs-on: blacksmith-2vcpu-ubuntu-2404 | |
| container: archlinux:base-devel@sha256:68bfc3b0d277b08a99101dc9b94aaa03e5ae70cf1b4fb965c03b2b87b915760d | |
| steps: | |
| - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 | |
| with: | |
| persist-credentials: false | |
| - name: Install Node.js | |
| run: pacman -Syu --noconfirm --needed nodejs | |
| - name: Test package ordering and payloads | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| useradd --create-home cap-package-test | |
| runuser -u cap-package-test -- node --test --test-reporter=tap scripts/build-linux-arch-package.test.mjs | tee /tmp/arch-package-tests.tap | |
| grep -q '^# skipped 0$' /tmp/arch-package-tests.tap |