Skip to content

Merge pull request #639 from Zondax/fix/pin-pnpm-10 #445

Merge pull request #639 from Zondax/fix/pin-pnpm-10

Merge pull request #639 from Zondax/fix/pin-pnpm-10 #445

Workflow file for this run

name: CI-ts
on:
push:
branches: [main, dev]
pull_request:
branches: [main, dev]
schedule:
- cron: "0 0 * * *" # Daily at midnight UTC
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.head.ref || github.ref }}
cancel-in-progress: true
permissions:
contents: read
id-token: write
jobs:
ts-checks:
uses: zondax/_workflows/.github/workflows/_checks-ts.yaml@v5
with:
package_manager: pnpm

Check failure on line 23 in .github/workflows/ci-ts.yaml

View workflow run for this annotation

GitHub Actions / CI-ts

Invalid workflow file

The workflow is not valid. .github/workflows/ci-ts.yaml (Line: 23, Col: 24): Invalid input, package_manager is not defined in the referenced workflow. .github/workflows/ci-ts.yaml (Line: 24, Col: 21): Invalid input, node_version is not defined in the referenced workflow.
node_version: "22"
enable_tests: false # Disable tests here since they need Docker
enable_coverage: false
test_command: "test"
lint_command: "check"
format_command: "check"
test-with-docker:
runs-on: ubuntu-latest
needs: ts-checks
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup mise
uses: jdx/mise-action@v3
env:
MISE_NODE_VERSION: ${{ matrix.node-version }}
- name: Install dependencies
run: pnpm install
- name: Run tests with Docker
run: pnpm test
env:
DISPLAY: :99