diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml deleted file mode 100644 index 99021a7..0000000 --- a/.github/workflows/build.yaml +++ /dev/null @@ -1,28 +0,0 @@ -name: Build and Test - -on: - push: - branches: - - main - -jobs: - build: - runs-on: ubuntu-latest - steps: - - - name: Checkout Repository #git-clone main - uses: actions/checkout@v4 - with: - repository: ${{ github.repository }} - - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: 20.x - - - name: Install Dependencies - run: npm install - - name: tsc && vite build - run: npm run build - - name: Test - run: npm run test diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..3b924ea --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,30 @@ +name: Build and Test + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 20.x + + - name: Install Dependencies + run: npm install + + - name: Build + run: npm run build + + - name: Test + run: npm run test diff --git a/README.md b/README.md index 4468348..54fd7ea 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -# BridgeRouteX.github.io +# BridgeRouteX + Dapp Interface