Skip to content

Commit

Permalink
Updating e2e workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
erdimaden committed Jun 3, 2024
1 parent ca82c89 commit 3e3c397
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 12 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/e2e_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Run Unit 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


12 changes: 0 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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


0 comments on commit 3e3c397

Please sign in to comment.