fix: let backend handle decimals of latest delegations #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| jobs: | |
| build-test-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: git checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup target Node.js to enable Corepack | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 18 | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: setup Node.js | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: 18 | |
| cache: yarn | |
| - name: Install Dependencies | |
| run: yarn | |
| - name: Compile Project | |
| run: yarn build-all | |
| - name: deploy page | |
| uses: crazy-max/ghaction-github-pages@v2 | |
| with: | |
| build_dir: dist | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |