Skip to content

Commit

Permalink
Used openzeppelin lib
Browse files Browse the repository at this point in the history
  • Loading branch information
UrfinDeuce committed Sep 21, 2023
1 parent 68e704e commit c54f378
Show file tree
Hide file tree
Showing 9 changed files with 150 additions and 405 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: build
on: push

jobs:
coverage:
name: build
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup-node
uses: actions/setup-node@v3
with:
node-version: 16
- name: install
run: yarn install
- name: build
run: yarn hardhat compile
- name: upload artifacts
uses: actions/upload-artifact@v1
with:
name: artifacts
path: artifacts/contracts
24 changes: 24 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: coverage
on: push

jobs:
coverage:
name: coverage
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup-node
uses: actions/setup-node@v3
with:
node-version: 16
- name: install
run: yarn install
- name: test+coverage
run: yarn hardhat coverage
- name: upload artifacts
uses: actions/upload-artifact@v1
if: always()
with:
name: coverage
path: coverage
20 changes: 20 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: lint
on: push

jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup-node
uses: actions/setup-node@v3
with:
node-version: 16
- name: install
run: yarn install
- name: lint ts
run: yarn eslint .
- name: lint sol
run: yarn prettier .
18 changes: 18 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: test
on: push

jobs:
coverage:
name: test
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup-node
uses: actions/setup-node@v3
with:
node-version: 16
- name: install
run: yarn install
- name: test
run: yarn hardhat test
Loading

0 comments on commit c54f378

Please sign in to comment.