e56b5cdd6a
* Various build and developer fixes, some optimizations * Fix the linux build * Fix afterpack * Fix notarization variables * Revert macos-notification-state changes from this PR * Only build the tar for PRs * Also ci * Fix copy script * Fix copy script more * Remove @babel/cli * Fix windows build * Fix MAS build
28 lines
669 B
YAML
28 lines
669 B
YAML
# Copyright 2022 Mattermost, Inc.
|
|
name: "test-ci"
|
|
description: This action used to run universal tests for all OS
|
|
|
|
inputs:
|
|
shell:
|
|
description: The shell to run the test
|
|
required: true
|
|
default: bash
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: ci/run-check-types
|
|
run: npm run check-types
|
|
shell: ${{ inputs.shell }}
|
|
- name: ci/run-i18n-check
|
|
shell: ${{ inputs.shell }}
|
|
run: |
|
|
npm run i18n-extract -- --desktop-dir .
|
|
git --no-pager diff --exit-code i18n/en.json
|
|
- name: ci/run-unit-ci
|
|
shell: ${{ inputs.shell }}
|
|
env:
|
|
ELECTRON_DISABLE_SANDBOX: "1"
|
|
run: |
|
|
npm run test:unit
|