-
Notifications
You must be signed in to change notification settings - Fork 19
50 lines (43 loc) · 1.43 KB
/
check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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/[email protected]
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-multichain-api.up.railway.app/
envkey_GQL_ACCESS_TOKEN: 7f82c43a-e7f4-47e9-a623-db7066f8bea2 # 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: SKIP_API_CHECK=true npm run build:graphql
- name: Run svelte-check
run: npm run check