Merge pull request #133 from lighthouse-web3/v0.4.1 #204
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: Node CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20.x] | |
| steps: | |
| - name: Checkout repository 🛎️ | |
| uses: actions/checkout@v3 | |
| - name: Setup Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'npm' | |
| - name: Install 🔧 | |
| run: npm install | |
| - name: Build 🔨 | |
| run: npm run build | |
| - name: Test 🚨 | |
| run: npm test | |
| env: | |
| TEST_API_KEY: ${{ secrets.TEST_API_KEY }} | |
| TEST_PRIVATE_KEY: ${{ secrets.TEST_PRIVATE_KEY }} | |
| TEST_PUBLIC_KEY: ${{ secrets.TEST_PUBLIC_KEY }} |