on: workflow_call: inputs: node_version: required: true type: string jobs: ci: name: Node ${{ inputs.node_version }} runs-on: ubuntu-latest steps: - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - name: Use Node ${{ inputs.node_version }} uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 with: node-version: ${{ inputs.node_version }} - name: Install run: yarn install --immutable - name: Build run: yarn build - name: Types run: yarn code:types - name: Test run: yarn test