mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-16 05:38:41 -09:00
Add canary icon copy and limit push jobs for github actions
This commit is contained in:
parent
d76d8aeb20
commit
4d046bd85e
1 changed files with 21 additions and 1 deletions
22
.github/workflows/nodejs.yml
vendored
22
.github/workflows/nodejs.yml
vendored
|
|
@ -1,5 +1,10 @@
|
||||||
name: Node CI
|
name: Node CI
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- canary
|
||||||
|
pull_request:
|
||||||
jobs:
|
jobs:
|
||||||
ci_macos:
|
ci_macos:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
|
@ -16,6 +21,11 @@ jobs:
|
||||||
run: yarn install
|
run: yarn install
|
||||||
- name: Test
|
- name: Test
|
||||||
run: yarn run test
|
run: yarn run test
|
||||||
|
- name: Getting Build Icon
|
||||||
|
if: github.ref == 'refs/heads/canary' || github.base_ref == 'canary'
|
||||||
|
run: |
|
||||||
|
cp build/canary.ico build/icon.ico
|
||||||
|
cp build/canary.icns build/icon.icns
|
||||||
- name: Build
|
- name: Build
|
||||||
run: yarn run dist --publish=never
|
run: yarn run dist --publish=never
|
||||||
env:
|
env:
|
||||||
|
|
@ -45,6 +55,11 @@ jobs:
|
||||||
run: yarn install
|
run: yarn install
|
||||||
- name: Test
|
- name: Test
|
||||||
run: yarn run test
|
run: yarn run test
|
||||||
|
- name: Getting Build Icon
|
||||||
|
if: github.ref == 'refs/heads/canary' || github.base_ref == 'canary'
|
||||||
|
run: |
|
||||||
|
cp build/canary.ico build/icon.ico
|
||||||
|
cp build/canary.icns build/icon.icns
|
||||||
- name: Build
|
- name: Build
|
||||||
run: yarn run dist --publish=never
|
run: yarn run dist --publish=never
|
||||||
env:
|
env:
|
||||||
|
|
@ -95,6 +110,11 @@ jobs:
|
||||||
run: yarn install
|
run: yarn install
|
||||||
- name: Test
|
- name: Test
|
||||||
run: yarn run test
|
run: yarn run test
|
||||||
|
- name: Getting Build Icon
|
||||||
|
if: github.ref == 'refs/heads/canary' || github.base_ref == 'canary'
|
||||||
|
run: |
|
||||||
|
Copy-Item .\build\canary.ico .\build\icon.ico
|
||||||
|
Copy-Item .\build\canary.icns .\build\icon.icns
|
||||||
- name: Build
|
- name: Build
|
||||||
run: yarn run dist --publish=never
|
run: yarn run dist --publish=never
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue