Skip to content

chore: add .env.example file #5

chore: add .env.example file

chore: add .env.example file #5

name: Run nft-resolver tests
on:
pull_request:
branches:
- main
jobs:
nft-resolver-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache node modules
id: cache-npm
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install Dependencies
run: npm install --frozen-lockfile
- name: Run tests
run: npm run test