mirror of
https://github.com/apache/superset.git
synced 2024-09-17 19:19:38 -04:00
39 lines
1.0 KiB
YAML
39 lines
1.0 KiB
YAML
name: WebSocket server
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
paths:
|
|
- "superset-websocket/**"
|
|
pull_request:
|
|
paths:
|
|
- "superset-websocket/**"
|
|
types: [synchronize, opened, reopened, ready_for_review]
|
|
|
|
jobs:
|
|
app-checks:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
|
|
uses: actions/checkout@v3
|
|
with:
|
|
persist-credentials: false
|
|
- name: Install dependencies
|
|
working-directory: ./superset-websocket
|
|
run: npm ci
|
|
- name: eslint
|
|
working-directory: ./superset-websocket
|
|
run: npm run eslint -- .
|
|
- name: typescript checks
|
|
working-directory: ./superset-websocket
|
|
run: npm run type
|
|
- name: prettier
|
|
working-directory: ./superset-websocket
|
|
run: npm run prettier-check
|
|
- name: unit tests
|
|
working-directory: ./superset-websocket
|
|
run: npm run test
|
|
- name: build
|
|
working-directory: ./superset-websocket
|
|
run: npm run build
|