Skip to content

chore: update Node version to 20 in build workflow #46

chore: update Node version to 20 in build workflow

chore: update Node version to 20 in build workflow #46

Workflow file for this run

name: Build on push
on:
push:
branches-ignore: ["main"]
paths-ignore:
- "README.md"
- "README-*.md"
- ".github/ISSUE_TEMPLATE/*"
jobs:
build_on_linux:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Node v18
uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Install electron-builder
run: npm i electron-builder -g
- name: Build typescript files
run: npm run build:code
build_on_win:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Node v18
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install dependencies
run: npm ci
- name: Install electron-builder
run: npm i electron-builder -g
- name: Build typescript files
run: npm run build:code
build_on_macos:
runs-on: macOS-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Node v18
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install dependencies
run: npm ci
- name: Install electron-builder
run: npm i electron-builder -g
- name: Build typescript files
run: npm run build:code