diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 8550ece..505a79e 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -26,7 +26,9 @@ jobs: ${{ runner.os }}-yarn- - name: E2E Test - run: yarn && yarn test e2e + run: | + yarn --frozen-lockfile + yarn test e2e env: MPC_CONTRACT_ID: v1.signer-prod.testnet NEAR_ACCOUNT_ID: ${{secrets.NEAR_ACCOUNT_ID}} diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index 57bf318..214ea9a 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -28,8 +28,8 @@ jobs: ${{ runner.os }}-yarn- - name: Install & Build - run: yarn && yarn build - - - name: Lint & Unit Test & Coverage run: | + yarn --frozen-lockfile + yarn lint + yarn build yarn verify diff --git a/package.json b/package.json index 87ddaac..7582261 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "lint": "eslint . --ignore-pattern dist/ && prettier --check **/*.ts", "test": "jest --testTimeout 30000", "coverage": "yarn test --coverage", - "verify": "yarn lint && yarn coverage unit", + "verify": "yarn coverage unit", "fmt": "prettier --write '{src,examples,tests}/**/*.{js,jsx,ts,tsx}' && eslint src/ --fix" }, "engines": {