Skip to content

New core and desktop release #318

New core and desktop release

New core and desktop release #318

name: ci-nym-vpn-desktop-js
on:
workflow_dispatch:
pull_request:
paths:
- "nym-vpn-desktop/**"
- ".github/workflows/ci-nym-vpn-desktop-js.yml"
jobs:
check:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04-arc, custom-windows-11]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
sparse-checkout: |
nym-vpn-desktop
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: nym-vpn-desktop/package-lock.json
- name: Install dependencies
working-directory: nym-vpn-desktop
run: npm ci
- name: Typecheck
working-directory: nym-vpn-desktop
run: npm run tscheck
- name: Check lint
working-directory: nym-vpn-desktop
run: npm run lint
- name: Check formatting
working-directory: nym-vpn-desktop
run: npm run fmt:check
# - name: Run tests
# working-directory: nym-vpn-desktop
# run: npm run test
- name: Check build
working-directory: nym-vpn-desktop
run: npm run build