Skip to content

Install pkgm alongside pkgx #174

Install pkgm alongside pkgx

Install pkgm alongside pkgx #174

Workflow file for this run

on:
workflow_call:
pull_request:
paths:
- action.js
- action.yml
- package.json
- installer.sh
concurrency:
group: ${{ github.ref || 'ci' }}/action.ts
cancel-in-progress: true
jobs:
std:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm i
- uses: ./
with:
version: null
- run: pkgx --version
plus-pkgs:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
- [self-hosted, macOS, ARM64] # we need to be sure the action
- [self-hosted, linux, ARM64] # works in arm64 environments
prefix:
- null
- /tmp/pkgx
container:
- null
include:
- os: ubuntu-latest
container: debian:buster-slim
container: ${{ matrix.container }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
- run: npm i
- uses: ./
with:
PKGX_DIR: ${{ matrix.prefix }}
+: node@18 deno.land
- run: test -f '${{ matrix.prefix }}/deno.land/v*/bin/deno'
if: ${{ matrix.prefix }}
- run: pkgx --version
- run: if [[ "$(node --version)" != v18.* ]]; then exit 1; fi
- run: deno --version
multiple-apply-is-ok:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm i
- uses: ./
- run: pkgx --version
- uses: ./
- run: pkgx --version