aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorcsett86 <csett86@web.de>2021-11-16 22:38:33 +0100
committerGitHub <noreply@github.com>2021-11-16 22:38:33 +0100
commit4237c5d1a55fde46fb985e5cf7c431e31acdb886 (patch)
treecdb9d73efe0366de86ab519428131f5c9a7a004d /.github
parentee1d4e1e14146b1c48ea265a8e54081ce7f0101b (diff)
ci: simplify thanks to prebuilds (#666)
ci: simplify thanks to prebuilds as robotjs and @jitsi/electron-sdk have prebuilds, no need for build tools here
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml20
1 files changed, 6 insertions, 14 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 02d002e..88bfa20 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -6,8 +6,6 @@ on:
push:
branches:
- master
- tags:
- - '*'
pull_request:
branches:
- master
@@ -18,11 +16,9 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- - uses: actions/setup-node@v1
+ - uses: actions/setup-node@v2
with:
- node-version: '16.x'
- - name: Install dependencies
- run: sudo apt-get install libx11-dev zlib1g-dev libpng-dev libxtst-dev
+ node-version: '16'
- name: Build it
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -34,9 +30,9 @@ jobs:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- - uses: actions/setup-node@v1
+ - uses: actions/setup-node@v2
with:
- node-version: '16.x'
+ node-version: '16'
- name: Prepare for app signing and notarization
if: ${{ github.event_name != 'pull_request' }}
run: |
@@ -57,13 +53,9 @@ jobs:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- - uses: actions/setup-node@v1
+ - uses: actions/setup-node@v2
with:
- node-version: '16.x'
- - name: latest node-gyp for robotjs
- run: |
- npm install --global node-gyp@8.4.0
- npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"}
+ node-version: '16'
- name: Build it
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}