Skip to content

Commit

Permalink
Add GitHub action tu run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alavarello committed Mar 24, 2024
1 parent 7b2e8d6 commit 6809583
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Smart Contract Tests

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version-file: '.nvmrc'

- name: Install Dependencies
run: yarn install --frozen-lockfile --immutable

- name: Run Tests
run: yarn test

0 comments on commit 6809583

Please sign in to comment.