Skip to content

Update Node.js to v22 #3774

Update Node.js to v22

Update Node.js to v22 #3774

Workflow file for this run

name: Test
on:
push:
branches: [ "master" ]
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
frontend:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Install dependencies
run: |
pnpm install --frozen-lockfile
- name: Run tests
run: |
pnpm run test
backend:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: dtolnay/rust-toolchain@stable
- name: Install packages
run: |
sudo apt-get update
sudo apt-get install build-essential libwebkit2gtk-4.0-dev libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
- name: Build
working-directory: ./src-tauri
run: cargo build --verbose
- name: Run tests
working-directory: ./src-tauri
run: cargo test --verbose