git ssb

1+

Daan Patchwork / patchwork



Tree: cc561c4690d08f620bbef867830314ce67052f7e

Files: cc561c4690d08f620bbef867830314ce67052f7e / .github / workflows / main.yml

1436 bytesRaw
1name: Node.js CI
2
3on:
4 push:
5 branches: [master]
6 pull_request:
7 branches: [master]
8
9jobs:
10 build:
11 runs-on: ${{ matrix.os }}
12
13 strategy:
14 fail-fast: false
15 matrix:
16 os: [macos-latest, windows-latest, ubuntu-latest]
17 node-version: [10.x, 12.x, 14.x]
18
19 steps:
20 - run: git config --global core.autocrlf false
21
22 - name: Install Build Dependencies
23 if: runner.os == 'linux'
24 run: |
25 sudo apt update
26 sudo apt-get install -y \
27 libopenjp2-tools \
28 automake \
29 libgconf-2-4 \
30 libtool \
31 libxext-dev \
32 libxkbfile-dev \
33 libxtst-dev \
34 build-essential
35
36 - name: Install Snapcraft
37 if: runner.os == 'linux'
38 uses: samuelmeuli/action-snapcraft@v1
39
40 - name: Install Node.js, NPM and Yarn
41 uses: actions/setup-node@v1
42 with:
43 node-version: 14
44
45 - name: Check out Git repository
46 uses: actions/checkout@v2
47
48 - name: Build/release Electron app
49 uses: samuelmeuli/action-electron-builder@v1
50 with:
51 # GitHub token, automatically provided to the action
52 # (No need to define this secret in the repo settings)
53 github_token: ${{ secrets.github_token }}
54
55 # If the commit is tagged with a version (e.g. "v1.0.0"),
56 # release the app after building
57 release: false
58

Built with git-ssb-web