chore(): update e2e test action, with deliberate lint fail
This commit is contained in:
31
.github/workflows/e2etests.yml
vendored
31
.github/workflows/e2etests.yml
vendored
@@ -1,13 +1,9 @@
|
|||||||
name: "Build & Test"
|
name: "Build, Lint & Test"
|
||||||
|
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
# on:
|
pull_request:
|
||||||
# # pull_request:
|
workflow_dispatch:
|
||||||
# # branches:
|
|
||||||
# # - "master"
|
|
||||||
# push:
|
|
||||||
# branches:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -15,20 +11,27 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout source code"
|
- name: 'Checkout source code'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version-file: '.nvmrc'
|
||||||
|
registry-url: 'https://registry.npmjs.org/'
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
run: npm ci --ignore-scripts
|
run: npm ci --ignore-scripts
|
||||||
|
|
||||||
- name: Build
|
- name: Clean
|
||||||
|
run: npm run clean
|
||||||
|
|
||||||
|
- name: Check Build
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
|
- name: Check Lint
|
||||||
|
run: npm run lint
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: npm run test
|
run: npm run test
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
"build:clean": "npm run clean && npm run build",
|
"build:clean": "npm run clean && npm run build",
|
||||||
"build:watch": "npm run clean && tsc --watch",
|
"build:watch": "npm run clean && tsc --watch",
|
||||||
"pack": "webpack --config webpack/webpack.config.js",
|
"pack": "webpack --config webpack/webpack.config.js",
|
||||||
|
"lint": "eslint src",
|
||||||
"prepublish": "npm run build:clean",
|
"prepublish": "npm run build:clean",
|
||||||
"betapublish": "npm publish --tag beta"
|
"betapublish": "npm publish --tag beta"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ export type SpotKlineInterval =
|
|||||||
| '1Dutc'
|
| '1Dutc'
|
||||||
| '3Dutc'
|
| '3Dutc'
|
||||||
| '1Wutc'
|
| '1Wutc'
|
||||||
| '1Mutc';
|
| "1Mutc";
|
||||||
|
|
||||||
export interface NewWalletTransfer {
|
export interface NewWalletTransfer {
|
||||||
fromType: WalletType;
|
fromType: WalletType;
|
||||||
|
|||||||
Reference in New Issue
Block a user