Skip to content

Merge pull request #109 from lighthouse-web3/v0.3.1 #176

Merge pull request #109 from lighthouse-web3/v0.3.1

Merge pull request #109 from lighthouse-web3/v0.3.1 #176

Workflow file for this run

# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Use Node.js ${{ matrix.node-version }} 🛎️
uses: actions/checkout@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
persist-credentials: false
- 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 }}