Merge pull request #63 from Furnyr/dev #54
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: hiRPC | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "hirpc/**/*.json" | |
| - "hirpc/**/*.js" | |
| - "hirpc/**/*.ts" | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - "hirpc/**/*.json" | |
| - "hirpc/**/*.js" | |
| - "hirpc/**/*.ts" | |
| jobs: | |
| hirpc_tests: | |
| name: hiRPC Tests | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: "./hirpc" | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - name: Install Dependencies | |
| run: pnpm install --frozen-lockfile --prefer-offline --loglevel error | |
| - name: Run tests | |
| run: pnpm test |