-
Notifications
You must be signed in to change notification settings - Fork 19
31 lines (26 loc) · 953 Bytes
/
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
name: Run svelte-check
on: [pull_request, workflow_dispatch]
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: Populate .env file
uses: SpicyPizza/[email protected]
with:
envkey_PINATA_SDK_KEY: ${{ secrets.PINATA_SDK_KEY }}
envkey_PINATA_SDK_SECRET: ${{ secrets.PINATA_SDK_SECRET }}
envkey_TENDERLY_ACCESS_SECRET: ${{ secrets.TENDERLY_ACCESS_SECRET }}
envkey_TENDERLY_PROJECT: ${{ secrets.TENDERLY_PROJECT }}
envkey_TENDERLY_USER: ${{ secrets.TENDERLY_USER }}
envkey_GELATO_API_KEY: ${{ secrets.GELATO_API_KEY }}
envkey_PUBLIC_NETWORK: 5
- name: Install dependencies
run: npm ci
- name: Run svelte-check
run: npm run check -- --fail-on-warnings