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