Skip to content

Commit ebf7f69

Browse files
committed
chore(): update e2e test action, with deliberate lint fail
1 parent d363c51 commit ebf7f69

File tree

3 files changed

+19
-15
lines changed

3 files changed

+19
-15
lines changed

.github/workflows/e2etests.yml

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,37 @@
1-
name: "Build & Test"
1+
name: "Build, Lint & Test"
22

3-
on: [push]
4-
5-
# on:
6-
# # pull_request:
7-
# # branches:
8-
# # - "master"
9-
# push:
10-
# branches:
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
117

128
jobs:
139
build:
1410
name: "Build & Test"
1511
runs-on: ubuntu-latest
1612

1713
steps:
18-
- name: "Checkout source code"
19-
uses: actions/checkout@v3
14+
- name: 'Checkout source code'
15+
uses: actions/checkout@v4
2016

21-
- uses: actions/setup-node@v3
17+
- uses: actions/setup-node@v4
2218
with:
23-
node-version: 16
19+
node-version-file: '.nvmrc'
20+
registry-url: 'https://registry.npmjs.org/'
2421
cache: 'npm'
2522

2623
- name: Install
2724
run: npm ci --ignore-scripts
2825

29-
- name: Build
26+
- name: Clean
27+
run: npm run clean
28+
29+
- name: Check Build
3030
run: npm run build
3131

32+
- name: Check Lint
33+
run: npm run lint
34+
3235
- name: Test
3336
run: npm run test
3437
env:

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"build:clean": "npm run clean && npm run build",
1717
"build:watch": "npm run clean && tsc --watch",
1818
"pack": "webpack --config webpack/webpack.config.js",
19+
"lint": "eslint src",
1920
"prepublish": "npm run build:clean",
2021
"betapublish": "npm publish --tag beta"
2122
},

src/types/request/v1/spotV1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export type SpotKlineInterval =
2020
| '1Dutc'
2121
| '3Dutc'
2222
| '1Wutc'
23-
| '1Mutc';
23+
| "1Mutc";
2424

2525
export interface NewWalletTransfer {
2626
fromType: WalletType;

0 commit comments

Comments
 (0)