mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18: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
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- canary
|
||||
pull_request:
|
||||
jobs:
|
||||
ci_macos:
|
||||
runs-on: macos-latest
|
||||
|
|
@ -16,6 +21,11 @@ jobs:
|
|||
run: yarn install
|
||||
- name: 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
|
||||
run: yarn run dist --publish=never
|
||||
env:
|
||||
|
|
@ -45,6 +55,11 @@ jobs:
|
|||
run: yarn install
|
||||
- name: 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
|
||||
run: yarn run dist --publish=never
|
||||
env:
|
||||
|
|
@ -95,6 +110,11 @@ jobs:
|
|||
run: yarn install
|
||||
- name: 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
|
||||
run: yarn run dist --publish=never
|
||||
env:
|
||||
|
|
|
|||
Loading…
Reference in a new issue