Skip to content

upgrade node 16

upgrade node 16 #2

Workflow file for this run

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: '16' # 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