From 75f0d3a42c86353d2b86d611b41fc1f67bc13073 Mon Sep 17 00:00:00 2001 From: BOOM TOKEN Date: Sun, 16 Feb 2025 22:43:52 +0100 Subject: [PATCH] =?UTF-8?q?Delete=20=F0=9F=93=84=20.github/workflows=20dir?= =?UTF-8?q?ectory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: BOOM TOKEN --- .../workflows/solidity.yml" | 57 ------------------- 1 file changed, 57 deletions(-) delete mode 100644 "\360\237\223\204 .github/workflows/solidity.yml" diff --git "a/\360\237\223\204 .github/workflows/solidity.yml" "b/\360\237\223\204 .github/workflows/solidity.yml" deleted file mode 100644 index 492a4c0..0000000 --- "a/\360\237\223\204 .github/workflows/solidity.yml" +++ /dev/null @@ -1,57 +0,0 @@ -name: Solidity CI/CD - -on: - push: - branches: - - main - pull_request: - branches: - - main - -permissions: - contents: read - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Checkout Repository - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: '18' - - - name: Install Dependencies - run: npm install - - - name: Compile Smart Contracts - run: npx hardhat compile - - - name: Run Tests - run: npx hardhat test - - deploy: - if: github.ref == 'refs/heads/main' - needs: build - runs-on: ubuntu-latest - - steps: - - name: Checkout Repository - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: '18' - - - name: Install Dependencies - run: npm install - - - name: Deploy Smart Contract to BSC Testnet - env: - PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} - BSC_TESTNET_RPC: ${{ secrets.BSC_TESTNET_RPC }} - run: npx hardhat run scripts/deploy.js --network bscTestnet