Skip to content

v3; defaults to pkgx^2; pure js rewrite #170

v3; defaults to pkgx^2; pure js rewrite

v3; defaults to pkgx^2; pure js rewrite #170

Workflow file for this run

on:
workflow_call:
pull_request:
paths:
- action.js
- action.yml
- package.json
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: '[[ "$(node --version)" == v18.* ]]'
- 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