diff --git a/.github/workflows/check-formatting.yml b/.github/workflows/check-formatting.yml index eecb6356c..931fd4811 100644 --- a/.github/workflows/check-formatting.yml +++ b/.github/workflows/check-formatting.yml @@ -7,10 +7,14 @@ on: jobs: check: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v2 + - name: Set up Node.js v20 + uses: actions/setup-node@v2.1.5 + with: + node-version: 20 - name: Build and Format run: yarn - name: Check Formatting diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3840a5e5..5f196335a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: build: strategy: matrix: - node-version: [16, 18] + node-version: [18, 19, 20] system: - os: ubuntu-22.04 runs-on: ${{ matrix.system.os }} diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 0efbcbac8..5bc9669f9 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -23,7 +23,7 @@ on: jobs: analyze: name: Analyze - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: fail-fast: false diff --git a/.github/workflows/indexer-agent-image.yml b/.github/workflows/indexer-agent-image.yml index b1a5b65ad..bf19fcbc8 100644 --- a/.github/workflows/indexer-agent-image.yml +++ b/.github/workflows/indexer-agent-image.yml @@ -11,7 +11,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: packages: write @@ -34,6 +34,14 @@ jobs: registry: ghcr.io username: ${{github.repository_owner}} password: ${{secrets.GITHUB_TOKEN}} + - name: Setup python + uses: actions/setup-python@v4 + with: + python-version: '3.11' + - name: Set up Node.js v20 + uses: actions/setup-node@v2.1.5 + with: + node-version: 20 - name: Build and push Indexer Agent image id: docker_build uses: docker/build-push-action@v2 diff --git a/.github/workflows/indexer-cli-image.yml b/.github/workflows/indexer-cli-image.yml index a5fec1c90..2e1de29e3 100644 --- a/.github/workflows/indexer-cli-image.yml +++ b/.github/workflows/indexer-cli-image.yml @@ -11,7 +11,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: packages: write @@ -34,6 +34,14 @@ jobs: registry: ghcr.io username: ${{github.repository_owner}} password: ${{secrets.GITHUB_TOKEN}} + - name: Setup python + uses: actions/setup-python@v4 + with: + python-version: '3.11' + - name: Set up Node.js v20 + uses: actions/setup-node@v2.1.5 + with: + node-version: 20 - name: Build and push Indexer CLI image id: docker_build uses: docker/build-push-action@v2 diff --git a/.github/workflows/indexer-service-image.yml b/.github/workflows/indexer-service-image.yml index f2341666e..23c75bf22 100644 --- a/.github/workflows/indexer-service-image.yml +++ b/.github/workflows/indexer-service-image.yml @@ -11,7 +11,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: packages: write @@ -34,6 +34,14 @@ jobs: registry: ghcr.io username: ${{github.repository_owner}} password: ${{secrets.GITHUB_TOKEN}} + - name: Setup python + uses: actions/setup-python@v4 + with: + python-version: '3.11' + - name: Set up Node.js v20 + uses: actions/setup-node@v2.1.5 + with: + node-version: 20 - name: Build and push Indexer Service image id: docker_build uses: docker/build-push-action@v2 diff --git a/.github/workflows/publish-native-binaries.yml b/.github/workflows/publish-native-binaries.yml index 96b2ed34c..2b05d46fa 100644 --- a/.github/workflows/publish-native-binaries.yml +++ b/.github/workflows/publish-native-binaries.yml @@ -17,20 +17,20 @@ jobs: # (https://github.com/bchr02/node-pre-gyp-github/issues/42) fail-fast: false matrix: - node_version: [16, 17, 18, 19, 20] + node_version: [18, 19, 20] system: - - os: macos-latest + - os: macos-12 target: x86_64-apple-darwin - - os: ubuntu-20.04 + - os: ubuntu-22.04 target: x86_64-unknown-linux-gnu include: - - node_version: 18 + - node_version: 17 system: - os: ubuntu-22.04 + os: ubuntu-20.04 target: x86_64-unknown-linux-gnu - - node_version: 18 + - node_version: 17 system: - os: macos-latest + os: macos-11 target: x86_64-apple-darwin runs-on: ${{ matrix.system.os }} steps: