-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 914 Bytes
/
ci.yml
File metadata and controls
42 lines (34 loc) · 914 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Build
on:
- push
jobs:
build:
name: Build for ${{ matrix.target.name }}
runs-on: ${{ matrix.target.os }}
strategy:
fail-fast: false
matrix:
target:
[
{ os: "windows-latest", name: "windows" },
{ os: "macos-latest", name: "macos" },
]
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "16"
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn build
- run: git pull
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: update build files [skip ci]
file_pattern: "prebuilds"