IPFS client #3
This file contains 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: Test | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
- rc1 | |
- rc2 | |
pull_request: | |
jobs: | |
build: | |
name: Jest Testing | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18.x | |
- name: Install Dependencies | |
run: npm install | |
- name: Test with Jest | |
run: | | |
export PROVIDER_URI=${{ secrets.PROVIDER_URI }} | |
export PROVIDER_URI_GOERLI=${{ secrets.PROVIDER_URI_GOERLI }} | |
export PROVIDER_URI_SEPOLIA=${{ secrets.PROVIDER_URI_SEPOLIA }} | |
npm test |