Skip to content

Commit 058b8a9

Browse files
committed
Test upgrades
1 parent 07fa3ec commit 058b8a9

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/ci.installer.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,3 +160,15 @@ jobs:
160160
PATH: ${{ github.workspace }}/bin:/usr/bin:/bin
161161

162162
- run: pkgx node --eval 'console.log(1)'
163+
164+
upgrades:
165+
runs-on: ubuntu-latest
166+
steps:
167+
- uses: actions/checkout@v4
168+
- run:
169+
curl https://dist.pkgx.dev/pkgx.sh/linux/x86-64/v1.0.0.tar.gz |
170+
tar xz --strip-components=3
171+
- run: mv pkgx /usr/local/bin
172+
- run: test "$(pkgx --version)" = 'pkgx 1.0.0'
173+
- run: ./installer.sh
174+
- run: pkgx semverator gt $(pkgx --version | awk '{print $2}') 1.0.0

0 commit comments

Comments
 (0)