mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
4387381fd1
* deps: bump node-libcurl to latest prerelease version * Add .npmrc, bump Electron to 3.1.13, remove electron-rebuild * Minor tweaks * package locks * Bump version * Switch to font-manager and fix fsevents rimraf * Try generating npmrc inside build/ * Try uninstall of fsevents instead * Bump * Try npm env vars * Extra .npmrc * Try npm env vars in all CI * Fix insomnia-cookies dependencies * Fix typo * Loosen nvmrc version * Remove npm uninstalls * Build outside of Docker * Remove Docker, build all on GH Actions * Bump Core version * Disable Snapcraft for now * Bump * Disable snap for Designer too * Update product name for Core * Update test.yml * Remove Travis file * Make userData folder explicit and add Curl types * Remove old Kong icon * Remove curl.js adapter * Revert productName * Fix release date * Try remove windows build tools from CI * Add comment about Snap deploys * Remove the pane border on Windows (no longer necessary) Co-authored-by: Jonathan Cardoso Machado <me@jonathancardoso.com>
63 lines
1.6 KiB
YAML
63 lines
1.6 KiB
YAML
name: Release Core
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- core@*
|
|
|
|
env:
|
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
GITHUB_REF: ${{ github.ref }}
|
|
GITHUB_SHA: ${{ github.sha }}
|
|
NPM_CONFIG_TARGET: 3.1.13
|
|
NPM_CONFIG_DISTURL: https://electronjs.org/headers
|
|
NPM_CONFIG_RUNTIME: electron
|
|
|
|
jobs:
|
|
Windows:
|
|
name: Windows
|
|
runs-on: windows-2016
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 10
|
|
- run: npm run bootstrap
|
|
- run: npm test
|
|
- run: npm run app-release
|
|
env:
|
|
CSC_LINK: ${{ secrets.CORE_WINDOWS_CSC_LINK }}
|
|
CSC_KEY_PASSWORD: ${{ secrets.CORE_WINDOWS_CSC_KEY_PASSWORD }}
|
|
Mac:
|
|
name: Mac
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 10
|
|
- run: npm run bootstrap
|
|
- run: npm test
|
|
- run: npm run app-release
|
|
env:
|
|
APPLE_ID: ${{ secrets.CORE_APPLE_ID }}
|
|
APPLE_ID_PASSWORD: ${{ secrets.CORE_APPLE_ID_PASSWORD }}
|
|
CSC_LINK: ${{ secrets.CORE_MAC_CSC_LINK }}
|
|
CSC_KEY_PASSWORD: ${{ secrets.CORE_MAC_CSC_KEY_PASSWORD }}
|
|
Linux:
|
|
name: Linux
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 10
|
|
- run: npm run bootstrap
|
|
- run: npm test
|
|
- run: npm run app-release
|
|
env:
|
|
BUILD_TARGETS: AppImage,deb,tar.gz,rpm
|
|
# TODO: Figure out Snap deploys
|
|
# BUILD_TARGETS: AppImage,Snap,deb,tar.gz,rpm
|
|
# SNAPCRAFT_LOGIN_FILE: ${{ secrets.SNAPCRAFT_LOGIN_FILE }}
|