Skip to content

Update package.json + .nvmrc deps #177

Update package.json + .nvmrc deps

Update package.json + .nvmrc deps #177

Workflow file for this run

---
name: Ubuntu CI
"on":
push:
branches:
- main
pull_request:
branches:
- "*"
workflow_dispatch: {}
jobs:
ubuntu-ci:
name: Ubuntu CI
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- id: tool-versions
name: Parse .tool-versions
uses: ./
- name: Test for bash
shell: bash
run: |
RUBY=${{steps.tool-versions.outputs.example-ruby}}
NPM=${{steps.tool-versions.outputs.example-npm}}
PYTHON=${{steps.tool-versions.outputs.example-python}}
NODEJS=${{steps.tool-versions.outputs.example-nodejs}}
echo "${RUBY?output not set}"
echo "${NPM?output not set}"
echo "${PYTHON?output not set}"
echo "${NODEJS?output not set}"
- name: Test for pwsh
shell: pwsh
run: |
$Env:RUBY="${{steps.tool-versions.outputs.example-ruby}}"
$Env:NPM="${{steps.tool-versions.outputs.example-npm}}"
$Env:PYTHON="${{steps.tool-versions.outputs.example-python}}"
$Env:NODEJS="${{steps.tool-versions.outputs.example-nodejs}}"
Test-Path $Env:RUBY
Test-Path $Env:NPM
Test-Path $Env:PYTHON
Test-Path $Env:NODEJS
- name: Test for sh
shell: sh
run: |
RUBY=${{steps.tool-versions.outputs.example-ruby}}
NPM=${{steps.tool-versions.outputs.example-npm}}
PYTHON=${{steps.tool-versions.outputs.example-python}}
NODEJS=${{steps.tool-versions.outputs.example-nodejs}}
echo "${RUBY?output not set}"
echo "${NPM?output not set}"
echo "${PYTHON?output not set}"
echo "${NODEJS?output not set}"