refactor: use coinmarketcap to generate static fiat estimates #1217
Workflow file for this run
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 unit tests | |
on: [pull_request, workflow_dispatch] | |
jobs: | |
unit-tests: | |
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_PUBLIC_NETWORK: 5 | |
- name: Install dependencies | |
run: npm ci | |
- name: Svelte Kit Sync | |
run: npx svelte-kit sync | |
- name: Run tests | |
run: npm run test:unit |