Skip to content

Commit

Permalink
add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Thykof committed Jul 15, 2024
1 parent 34841b9 commit 02abdad
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 18 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/sc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Smart contract lint and tests
on: [push]
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'

- name: Install
run: npm ci
working-directory: smart-contracts

- name: Lint
run: npm run fmt:check
working-directory: smart-contracts

- name: Test
run: npm run test
working-directory: smart-contracts
18 changes: 0 additions & 18 deletions smart-contract/.github/workflows/ci-tests.yml

This file was deleted.

0 comments on commit 02abdad

Please sign in to comment.