ci: use --force for npm install to avoid peer dependency conflicts #4
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: CI — SDK Install | |
| on: | |
| push: | |
| branches: [main, master] | |
| schedule: | |
| - cron: '0 0 * * *' | |
| - cron: '0 2 * * *' | |
| - cron: '0 4 * * *' | |
| - cron: '0 6 * * *' | |
| - cron: '0 8 * * *' | |
| - cron: '0 10 * * *' | |
| - cron: '0 12 * * *' | |
| - cron: '0 14 * * *' | |
| - cron: '0 16 * * *' | |
| - cron: '0 18 * * *' | |
| workflow_dispatch: | |
| jobs: | |
| install-sdks: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: ['18', '20', '22'] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Setup Node ${{ matrix.node-version }} | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install all @jadonamite SDKs from npmjs.com | |
| run: | | |
| npm install --force @jadonamite/chessify-sdk --registry=https://registry.npmjs.org/ | |
| npm install --force @jadonamite/stacks-core --registry=https://registry.npmjs.org/ | |
| npm install --force @jadonamite/fundxagon-sdk --registry=https://registry.npmjs.org/ | |
| npm install --force chessify-protocol --registry=https://registry.npmjs.org/ |