diff --git a/.github/workflows/test-sim-merge.yml b/.github/workflows/test-sim-merge.yml index ad79bc2c003..38a0253e0b2 100644 --- a/.github/workflows/test-sim-merge.yml +++ b/.github/workflows/test-sim-merge.yml @@ -26,31 +26,10 @@ jobs: name: Sim merge tests runs-on: buildjet-4vcpu-ubuntu-2204 steps: - # - Uses YAML anchors in the future - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: "./.github/actions/setup-and-build" with: - node-version: 22 - check-latest: true - cache: yarn - - name: Node.js version - id: node - run: echo "v8CppApiVersion=$(node --print "process.versions.modules")" >> $GITHUB_OUTPUT - - name: Restore dependencies - uses: actions/cache@master - id: cache-deps - with: - path: | - node_modules - packages/*/node_modules - key: ${{ runner.os }}-${{ steps.node.outputs.v8CppApiVersion }}-${{ hashFiles('**/yarn.lock', '**/package.json') }} - - name: Install & build - if: steps.cache-deps.outputs.cache-hit != 'true' - run: yarn install --frozen-lockfile && yarn build - - name: Build - run: yarn build - if: steps.cache-deps.outputs.cache-hit == 'true' - # + node: 22 - name: Pull Geth run: docker pull $GETH_IMAGE