chore: workflows

This commit is contained in:
Mo
2022-06-14 18:14:55 -05:00
parent 1369b9d18d
commit e4c8b6faf4
8 changed files with 14 additions and 56 deletions

View File

@@ -1,10 +1,9 @@
name: Desktop Prod Release
on:
create:
push:
tags:
- '@standardnotes/desktop@!(*alpha*)'
- '@standardnotes/desktop@!(*beta*)'
- '@standardnotes/desktop@!(*alpha*|*beta*)'
workflow_dispatch:
jobs:

View File

@@ -1,43 +0,0 @@
name: Desktop Release (Test)
on:
workflow_dispatch:
jobs:
Linux:
runs-on: macos-latest
defaults:
run:
working-directory: packages/desktop
steps:
- uses: actions/checkout@v2
- name: Ruby Setup
uses: ruby/setup-ruby@v1
- uses: actions/setup-node@v2
with:
registry-url: 'https://registry.npmjs.org'
- name: Install Snap Deps
run: |
brew update
brew install snapcraft
- run: yarn install
- run: yarn build:desktop
- name: SnapArm64
run: |
yarn run webpack --config desktop.webpack.prod.js --env snap
yarn run electron-builder --linux snap --arm64 --publish=never
- name: Upload
uses: actions/upload-artifact@v3.0.0
with:
name: assets
path: |
packages/desktop/dist/*.snap
packages/desktop/dist/*.AppImage
packages/desktop/dist/*.deb
packages/desktop/dist/*.blockmap
packages/desktop/dist/*.yml
packages/desktop/dist/*.yaml

View File

@@ -1,9 +1,10 @@
name: Mobile Build Development
on:
create:
push:
tags:
- '**standardnotes/mobile+(*alpha*|*beta*)'
- '@standardnotes/mobile@[0-9]*.[0-9]*.[0-9]*-alpha.[0-9]*'
- '@standardnotes/mobile@[0-9]*.[0-9]*.[0-9]*-beta.[0-9]*'
workflow_dispatch:
jobs:

View File

@@ -1,9 +1,9 @@
name: Mobile Build Production
on:
create:
push:
tags:
- '**standardnotes/mobile!(*alpha*|*beta*)'
- '@standardnotes/mobile@!(*alpha*|*beta*)'
workflow_dispatch:
jobs:

View File

@@ -5,9 +5,10 @@ concurrency:
cancel-in-progress: true
on:
create:
push:
tags:
- '**standardnotes/web-server+(*alpha*|*beta*)'
- '@standardnotes/web-server@[0-9]*.[0-9]*.[0-9]*-alpha.[0-9]*'
- '@standardnotes/web-server@[0-9]*.[0-9]*.[0-9]*-beta.[0-9]*'
workflow_dispatch:
jobs:

View File

@@ -5,9 +5,9 @@ concurrency:
cancel-in-progress: true
on:
create:
push:
tags:
- '**standardnotes/web-server!(*alpha*|*beta*)'
- '@standardnotes/web-server@!(*alpha*|*beta*)'
jobs:
test:

View File

@@ -3,7 +3,7 @@
"main": "./app/dist/index.js",
"version": "3.22.3-alpha.11",
"license": "AGPL-3.0-or-later",
"author": "Standard Notes",
"author": "Standard Notes.",
"private": true,
"repository": {
"type": "git",

View File

@@ -3,7 +3,7 @@
"version": "1.2.7-alpha.6",
"license": "AGPL-3.0-or-later",
"private": true,
"author": "Standard Notes.",
"author": "Standard Notes",
"description": "Ruby on Rails web server for hosting the web application",
"engines": {
"node": ">=12.19.0 <17.0.0"