Skip to content

Commit

Permalink
create: new GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
berzanorg committed Dec 14, 2023
1 parent afc3164 commit a350c4f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test-smart-contracts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test Smart Contracts
on:
push:
paths:
- 'contracts/**'
jobs:
build:
runs-on: ubuntu-20.04
timeout-minutes: 10
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup NodeJS
uses: actions/setup-node@v3
with:
node-version: '20'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build smart contracts
run: pnpm run build --if-present
- name: Run tests
run: pnpm run test

0 comments on commit a350c4f

Please sign in to comment.