move github workflows
This commit is contained in:
18
.github/workflows/build-enjoy-app.yml
vendored
Normal file
18
.github/workflows/build-enjoy-app.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
name: Build Enjoy App
|
||||
on: workflow_dispatch
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-11, macos-13, macos-latest, windows-latest, ubuntu-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20
|
||||
- name: install dependencies
|
||||
run: yarn install
|
||||
- name: build
|
||||
run: yarn package:enjoy
|
||||
20
.github/workflows/release-enjoy-app.yml
vendored
Normal file
20
.github/workflows/release-enjoy-app.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Release Enjoy App
|
||||
on: workflow_dispatch
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-latest, windows-latest, ubuntu-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20
|
||||
- name: install dependencies
|
||||
run: yarn install
|
||||
- name: publish
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
|
||||
run: yarn publish:enjoy
|
||||
Reference in New Issue
Block a user