on: pull_request: push: workflow_dispatch: env: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true jobs: lint-typescript: runs-on: ubuntu-latest container: image: node:22.11.0 steps: - uses: actions/checkout@v6 - name: Cache node_modules id: cache-npm uses: actions/cache@v5 with: path: node_modules key: node-modules-${{ hashFiles('package-lock.json') }} - run: npm ci if: steps.cache-npm.outputs.cache-hit != 'true' - run: npm run check-js lint-rust: runs-on: ubuntu-latest container: image: quay.io/radicle_garden/radicle-desktop-base:latest steps: - uses: actions/checkout@v6 - uses: Swatinem/rust-cache@v2 - run: scripts/check-rs