Skip to content

Extended API to support WebSocket #54

Extended API to support WebSocket

Extended API to support WebSocket #54

Workflow file for this run

name: πŸš€ PR
concurrency:
group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: [pull_request] # Run only on pull_request, to also get status updates in PRs. We omit push because this would run the steps two times (for push and pull_request).
permissions:
actions: write
contents: read
# Required to put a comment into the pull-request
pull-requests: write
jobs:
lint:
name: ⬣ Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: biomejs/setup-biome@v2
- run: biome ci . --reporter=github
typecheck:
name: πŸ”Ž Type check
runs-on: ubuntu-latest
steps:
- name: πŸ›‘ Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.12.1
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: βŽ” Setup node
uses: actions/setup-node@v4
with:
node-version-file: "package.json"
- name: πŸ“₯ Download deps
uses: bahmutov/npm-install@v1
with:
useLockFile: false
- name: πŸ”Ž Type check
run: npm run typecheck
# vitest:
# name: ⚑ Unit Tests
# runs-on: ubuntu-latest
# steps:
# - name: πŸ›‘ Cancel Previous Runs
# uses: styfle/cancel-workflow-action@0.12.1
# - name: ⬇️ Checkout repo
# uses: actions/checkout@v4
# - name: βŽ” Setup node
# uses: actions/setup-node@v4
# with:
# node-version-file: "package.json"
# - name: πŸ“₯ Download deps
# uses: bahmutov/npm-install@v1
# with:
# useLockFile: false
# - name: ⚑ Run vitest
# run: npm run test:cov
# - name: "Report Coverage"
# # Only works if you set `reportOnFailure: true` in your vite config as specified above
# if: always()
# uses: davelosert/vitest-coverage-report-action@v2