Merge pull request #138 from hack-a-chain-software/improvements #193
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
| name: "Indexer Build" | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Use Node.js 18 | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: "18" | |
| cache: "yarn" | |
| - name: Install dependencies | |
| run: yarn install | |
| working-directory: ./indexer | |
| - name: Build | |
| run: yarn build | |
| working-directory: ./indexer |