chore(deps): update dependency @types/ws to v8.5.13 #24187
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- 'master' | |
- 'release/*' | |
- 'ci/*' | |
pull_request: | |
jobs: | |
test: | |
name: Run tests on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
# Run always on push, or on pull requests that are not from release or ci branches. This prevents duplicate runs. | |
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'release/') && !startsWith(github.head_ref, 'ci/')) | |
strategy: | |
matrix: | |
node_version: [20.x] | |
os: [ubuntu-latest, windows-latest, macos-13] | |
steps: | |
- name: ubuntu file watcher tweak | |
if: matrix.os == 'ubuntu-latest' | |
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p | |
- uses: actions/checkout@v4 | |
- name: setup nodejs | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node_version }} | |
cache: yarn | |
- name: install dependencies | |
run: yarn install --frozen-lockfile --network-timeout 1000000 | |
- name: lint code | |
run: yarn lint | |
- name: typescript compile | |
run: yarn tsc | |
- name: unit tests | |
run: yarn test:ci | |
- name: build check | |
if: startsWith(github.ref_name, 'release/') == false | |
run: yarn build | |
- name: coverage | |
uses: codecov/codecov-action@v4 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
- name: electron build | |
run: yarn package:ci | |
if: startsWith(github.ref_name, 'release/') | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} |