From e3f4d4d8a0237e94d1a5eb31b64320b9e5f967ce Mon Sep 17 00:00:00 2001 From: Erdi Maden Date: Mon, 3 Jun 2024 16:45:35 -0500 Subject: [PATCH] Updating e2e workflow --- .github/workflows/e2e_test.yml | 24 ++++++++++++++++++++++++ .github/workflows/test.yml | 12 ------------ 2 files changed, 24 insertions(+), 12 deletions(-) create mode 100644 .github/workflows/e2e_test.yml diff --git a/.github/workflows/e2e_test.yml b/.github/workflows/e2e_test.yml new file mode 100644 index 00000000..ea754789 --- /dev/null +++ b/.github/workflows/e2e_test.yml @@ -0,0 +1,24 @@ +name: Run E2E Tests + +on: [pull_request] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: 18 + + - name: Run E2E Tests + env: + NAME: ${{ secrets.NAME }} + PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} + WALLET_DATA: ${{ secrets.WALLET_DATA }} + run: npm run test:dry-run && npm run test:e2e + + diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a9c9d1e4..2d077c1c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,15 +16,3 @@ jobs: - name: Install dependencies run: npm install - - - name: Run Unit Tests - run: npm run test - - - name: Run E2E Tests - env: - NAME: ${{ secrets.NAME }} - PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} - WALLET_DATA: ${{ secrets.WALLET_DATA }} - run: npm run test:dry-run && npm run test:e2e - -