Skip to content

feature/web-download-threshold #1693

feature/web-download-threshold

feature/web-download-threshold #1693

Workflow file for this run

name: integration
on:
push:
branches:
- main
pull_request:
schedule:
# <minute [0,59]> <hour [0,23]> <day of the month [1,31]>
# <month of the year [1,12]> <day of the week [0,6]>
# https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07
# Run every Monday at 07:24:00 PST
# (Since these CRONs are used by a lot of people -
# let's be nice to the servers and schedule it _not_ on the hour)
- cron: "24 7 * * 1"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@main
- name: Install Node.js
uses: actions/setup-node@main
with:
node-version: 16
- name: Install Dependencies
run: npm ci
- name: Lint
run: npm run lint
test-core:
runs-on: ubuntu-latest
needs: lint
steps:
- name: Check out Git repository
uses: actions/checkout@main
- name: Install Node.js
uses: actions/setup-node@main
with:
node-version: 16
- name: Install Dependencies
run: npm ci
- name: Unit Test
run: npm run test:core
test-web:
runs-on: ubuntu-latest
needs: lint
steps:
- name: Check out Git repository
uses: actions/checkout@main
- name: Install Node.js
uses: actions/setup-node@main
with:
node-version: 16
- name: Install Dependencies
run: npm ci
- name: Unit Test
run: npm run test:web
test-desktop:
runs-on: ubuntu-latest
needs: lint
steps:
- name: Check out Git repository
uses: actions/checkout@main
- name: Install Node.js
uses: actions/setup-node@main
with:
node-version: 16
- name: Install Dependencies
run: npm ci
- name: Unit Test
run: npm run test:desktop
build-desktop:
runs-on: ${{ matrix.os }}
needs: [test-desktop, test-web, test-core]
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@main
- name: Install Node.js
uses: actions/setup-node@main
with:
node-version: 16
- name: Build Electron app
uses: AllenCellSoftware/action-electron-builder@fms-file-explorer
with:
# GitHub token, automatically provided to the action
# (No need to define this secret in the repo settings)
github_token: ${{ secrets.github_token }}
package_root: "packages/desktop"
release: false # Never release on an integration build
windows_certs: ${{ secrets.CSC_LINK }}
windows_certs_password: ${{ secrets.CSC_KEY_PASSWORD }}