Skip to content

chore: replace asar with @electron/asar (#186) #210

chore: replace asar with @electron/asar (#186)

chore: replace asar with @electron/asar (#186) #210

Workflow file for this run

name: CI
on:
push:
branches:
- master
tags:
- v[0-9]+.[0-9]+.[0-9]+*
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macOS-latest, ubuntu-latest]
node-version: [10.x, 12.x]
steps:
- name: Fix git checkout line endings
run: git config --global core.autocrlf input
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Cache node_modules
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.OS }}-build-${{ env.cache-name }}-
${{ runner.OS }}-build-
${{ runner.OS }}-
- name: Install
run: |
npm install --engine-strict
npm update
- name: Lint
run: npm run lint
- name: TypeScript definition linting
run: npm run tsd
- name: Test
run: npm run coverage
- name: Codecov
run: npm run codecov
env:
CI_OS: ${{ matrix.os }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
NODE_VERSION: ${{ matrix.node-version }}