Skip to content

Commit

Permalink
Feat/siwe (#40)
Browse files Browse the repository at this point in the history
* install rainbowkit,view, wagmi

* implement login ui

* update axios instance

* update app.tsx

* implement auth

* fix address format

* update signOut function

* ignore .env

* delete .env file

* add secrets

* remove file
  • Loading branch information
mehdi-torabiv authored Aug 6, 2024
1 parent fbb0345 commit 11613f2
Show file tree
Hide file tree
Showing 14 changed files with 17,075 additions and 4,256 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,25 @@ jobs:
node: ['18', '17']
name: test/node ${{ matrix.node }}/${{ matrix.platform }}
runs-on: ${{ matrix.platform }}
env:
VITE_API_BASE_URL: ${{ secrets.VITE_API_BASE_URL }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'npm'
- run: npm install
# - run: npm run lint
- run: npm run test
- run: npm run build

coverage:
needs: [test]
name: coverage
runs-on: ubuntu-latest
env:
VITE_API_BASE_URL: ${{ secrets.VITE_API_BASE_URL }}
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -33,8 +37,7 @@ jobs:
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm run coverage
- uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: npm run coverage
coverageCommand: npm run coverage
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ dist-ssr
*.sw?

coverage

.env
Loading

0 comments on commit 11613f2

Please sign in to comment.