New core and desktop release #317
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-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 |