Bump the npm group across 1 directory with 4 updates #432
Workflow file for this run
This file contains 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-test' | |
on: # rebuild any PRs and main branch changes | |
pull_request: | |
push: | |
branches: | |
- main | |
- 'releases/*' | |
permissions: | |
contents: read | |
env: | |
PNPM_VERSION: latest | |
jobs: | |
build: # make sure build/ci work properly | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
name: Install pnpm | |
with: | |
version: ${{ env.PNPM_VERSION }} | |
run_install: false | |
- name: Get pnpm store directory | |
shell: bash | |
run: echo "STORE_PATH=$(pnpm store path --silent)" >> "$GITHUB_ENV" | |
- uses: actions/cache@v4 | |
name: Setup pnpm cache | |
with: | |
path: ${{ env.STORE_PATH }} | |
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-pnpm-store- | |
- name: Install dependencies | |
run: pnpm install | |
- run: | | |
pnpm run all | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: ubuntu-latest | |
- os: macos-13 | |
- os: macos-latest | |
- os: windows-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./ | |
- run: cargo prebuilt just | |
- run: just --version | |
test-version: # make sure that the right version can be downloaded | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./ | |
- run: '[[ "$(cargo prebuilt --version)" != "" ]]' | |
- uses: ./ | |
with: | |
prebuilt-version: 0.6.0 | |
- run: '[[ "$(cargo prebuilt --version)" == "Version: 0.6.0" ]]' | |
test-linux-tools: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./ | |
with: | |
pkgs: just,rtx-cli@1.34.0,bacon@2.11.0 | |
- run: just --version | |
- run: which just | |
- run: rtx --version | |
- run: '[[ "$(bacon --version)" == "bacon 2.11.0" ]]' | |
test-macos-tools: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./ | |
with: | |
pkgs: just,rtx-cli@1.34.0,bacon@2.11.0 | |
- run: just --version | |
- run: which just | |
- run: rtx --version | |
- run: '[[ "$(bacon --version)" == "bacon 2.11.0" ]]' | |
test-macos-latest-tools: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./ | |
with: | |
pkgs: just,rtx-cli@1.34.0,bacon@2.11.0 | |
- run: just --version | |
- run: which just | |
- run: rtx --version | |
- run: '[[ "$(bacon --version)" == "bacon 2.11.0" ]]' | |
test-windows-tools: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./ | |
with: | |
pkgs: just,bacon@2.11.0 | |
- shell: bash | |
run: just --version | |
- run: where.exe just | |
- shell: bash | |
run: '[[ "$(bacon --version)" == "bacon 2.11.0" ]]' | |
test-dup: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./ | |
with: | |
pkgs: just@1.14.0 | |
- run: '[[ "$(just --version)" == "just 1.14.0" ]]' | |
- uses: ./ | |
with: | |
out: false | |
pkgs: just@1.14.0 | |
- run: '[[ "$(just --version)" == "just 1.14.0" ]]' | |
- run: which just | |
test-minisign: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: ubuntu-latest | |
- os: macos-13 | |
- os: macos-latest | |
- os: windows-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./ | |
with: | |
prebuilt-verify: minisign | |
pkgs: just@1.14.0 | |
test-target: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./ | |
with: | |
pkgs: just,rtx-cli@1.34.0,bacon@2.11.0 | |
target: aarch64-unknown-linux-musl | |
- run: which just | |
test-next: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: ubuntu-latest | |
- os: macos-13 | |
- os: macos-latest | |
- os: windows-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./ | |
with: | |
prebuilt-version: 0.7.0-rc.0 | |
prebuilt-verify: minisign | |
pkgs: just,bat,cargo-asm,zoxide |