From f903d3e358d2b3b0ad4e5c1fdd0d67a1f23d253d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joseph-Andr=C3=A9=20Turk?= Date: Wed, 6 Mar 2024 18:00:41 +0100 Subject: [PATCH] fix: ci yaml --- .github/workflows/test.yml | 11 +++++------ .github/workflows/testmock.yml | 11 +++++------ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8cb4fd1..12ed9c8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,26 +1,25 @@ name: Pull request tests - on: pull_request: branches: - main - jobs: build: runs-on: large_ubuntu_16 strategy: matrix: - node-version: [18.x] + node-version: + - 18.x steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} - - uses: pnpm/action-setup@v3 - with: + uses: pnpm/action-setup@v3 + with: version: 8 - run: cp .env.example .env - run: pnpm install - run: pnpm prettier:check - - name: "pnpm CI test" + - name: pnpm CI test run: | # sometimes not created and is not tailed touch fhevm.log diff --git a/.github/workflows/testmock.yml b/.github/workflows/testmock.yml index 11dcc2e..c431394 100644 --- a/.github/workflows/testmock.yml +++ b/.github/workflows/testmock.yml @@ -1,24 +1,23 @@ name: Pull request tests - on: pull_request: branches: - main - jobs: build: runs-on: large_ubuntu_16 strategy: matrix: - node-version: [18.x] + node-version: + - 18.x steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} - - uses: pnpm/action-setup@v3 - with: + uses: pnpm/action-setup@v3 + with: version: 8 - run: cp .env.example .env - run: pnpm install - run: pnpm prettier:check - - name: "pnpm CI test:moc" + - name: pnpm CI test:mock run: pnpm test:mock \ No newline at end of file