fix(compressing): use yauzl-promise
if platform and build is MacOS
#268
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: e2e | |
on: | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
e2e: | |
strategy: | |
matrix: | |
os: [macos-12, ubuntu-22.04, windows-2022] | |
node: [16, 18, 20] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install packages | |
uses: ConorMacBride/[email protected] | |
with: | |
brew: gpatch | |
choco: patch | |
apt: patch | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Setup Node | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node }} | |
cache: "npm" | |
- name: Enable corepack | |
run: corepack enable | |
- name: Install dependencies | |
run: npm ci | |
- name: Check for formatting errors | |
run: npm run fmt:check | |
- name: Check for linting errors | |
run: npm run lnt:check | |
- name: Link module | |
run: npm link nw-builder | |
- name: Run unit tests | |
run: npm run test:unit | |
- name: Run Selenium tests | |
run: npm run test:e2e |