forked from ccxt/binance-api-node
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (27 loc) · 669 Bytes
/
Copy pathci.yml
File metadata and controls
30 lines (27 loc) · 669 Bytes
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
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
code-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: npm install
- name: Run typecheck
run: npm run typecheck
- name: Lint and Prettier
run: npm run lint && npm run prettier:check
- name: Static Tests
run: npm run static-tests
- name: All Tests
run: npm run test:ava