mirror of https://github.com/apache/superset.git
33 lines
842 B
YAML
33 lines
842 B
YAML
name: WebSocket server
|
|
on:
|
|
push:
|
|
paths:
|
|
- "superset-websocket/**"
|
|
pull_request:
|
|
paths:
|
|
- "superset-websocket/**"
|
|
|
|
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: lint
|
|
working-directory: ./superset-websocket
|
|
run: npm run lint
|
|
- 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
|