Skip to content

Commit

Permalink
truffle-tests action
Browse files Browse the repository at this point in the history
  • Loading branch information
pablogeek committed Sep 16, 2023
1 parent 0c5588c commit 2462bbf
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/truffle-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Truffle Tests

on:
push:
branches:
- main # Change this to your main branch name

jobs:
truffle-tests:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14' # Change this to your desired Node.js version

- name: Install Dependencies
run: npm install -g truffle

- name: Compile and Run Truffle Tests
run: |
truffle compile
truffle test

0 comments on commit 2462bbf

Please sign in to comment.