Add additional options for generating imports (#1364) #383
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Fastify Conformance" | |
on: | |
push: | |
branches: [main, "v*"] | |
tags: ["v*"] | |
pull_request: | |
branches: [main, "v*"] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
env: | |
# https://consoledonottrack.com/ | |
DO_NOT_TRACK: 1 | |
jobs: | |
node: | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
# Fastify v5 only supports Node.js v20+ | |
node-version: [22.7.0, 20.17.0] | |
name: "Node.js ${{ matrix.node-version }}" | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "npm" | |
- uses: actions/cache@v4 | |
with: | |
path: .turbo | |
key: ${{ runner.os }}/fastify-conformance/${{ github.sha }} | |
restore-keys: ${{ runner.os }}/fastify-conformance | |
- run: npm ci | |
- run: npx turbo run conformance --filter '@connectrpc/connect-fastify' --output-logs new-only --log-order stream |