Update ethers to v6 and remove dependency on Drips SDK #1862
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: Run svelte-check | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
svelte-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
- name: Cache dependencies | |
uses: actions/cache@v2 | |
with: | |
path: ~/.npm | |
key: npm-${{ hashFiles('package-lock.json') }} | |
restore-keys: npm- | |
- name: Populate .env file | |
uses: SpicyPizza/create-envfile@v1.3 | |
with: | |
envkey_PINATA_SDK_KEY: 1234 | |
envkey_PINATA_SDK_SECRET: 1234 | |
envkey_TENDERLY_ACCESS_SECRET: 1234 | |
envkey_TENDERLY_PROJECT: 1234 | |
envkey_TENDERLY_USER: 1234 | |
envkey_GELATO_API_KEY: 1234 | |
envkey_COINMARKETCAP_API_KEY: 1234 | |
envkey_PUBLIC_NETWORK: 5 | |
envkey_GQL_URL: https://drips-api-mainnet-s2.up.railway.app/ | |
envkey_GQL_ACCESS_TOKEN: afdb8b7e-8fa7-4de9-bd95-b650b839e745 # public token | |
envkey_PUBLIC_PINATA_GATEWAY_URL: http://localhost:3000 | |
envkey_INFURA_KEY: 1234 | |
envkey_MULTIPLAYER_API_ACCESS_TOKEN: 1234 | |
envkey_MULTIPLAYER_API_URL: http://foobar:3000/ | |
- name: Install dependencies | |
run: npm ci | |
- name: Build GQL types | |
run: npm run build:graphql | |
- name: Run svelte-check | |
run: npm run check |