Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/typescript-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ on:
test_matrix_node_version:
description: 'A JS array list of versions to be included in the test matrix. Defaults to "["14"]".'
required: false
default: '["14"]'
default: '["24"]'
type: string
additional_system_deps:
description: 'A single string of additional dependencies to install on the ubuntu runner using `apt`, ex "protobuf-compiler openssl".'
Expand Down Expand Up @@ -55,7 +55,7 @@ on:
default: ""
modern_yarn:
type: boolean
description: 'Use Modern Yarn (v2+). If false use Classic (v1.x).'
description: "Use Modern Yarn (v2+). If false use Classic (v1.x)."
required: false
default: false
secrets:
Expand Down Expand Up @@ -102,6 +102,9 @@ jobs:
keys: ${{ secrets.IRONHIDE_KEYS }}
input: ${{ inputs.files_to_decrypt }}
working-directory: ${{ env.UNDER_TEST_FOLDER }}
- name: Set yarn mode
if: ${{ inputs.modern_yarn }}
run: corepack enable
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node_version }}
Expand All @@ -112,11 +115,6 @@ jobs:
run: |
sudo apt update
sudo apt install ${{ inputs.additional_system_deps }}
- name: Set yarn mode
if: ${{ inputs.modern_yarn }}
run: |
corepack enable
yarn set version berry
- name: Install modules
run: yarn
- name: Run tests
Expand Down
Loading