chore: Update ci workflow
This commit is contained in:
@@ -9,8 +9,11 @@ jobs:
|
||||
environment: Publish
|
||||
runs-on: macos-10.15
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
platform: [win, linux, mac]
|
||||
|
||||
steps:
|
||||
- run: echo $GH_TOKEN
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js 14.x
|
||||
uses: actions/setup-node@v2
|
||||
@@ -21,7 +24,11 @@ jobs:
|
||||
run: yarn install
|
||||
- name: Build
|
||||
run: yarn build
|
||||
- name: Package and publish
|
||||
run: yarn dist:gh-publish
|
||||
- name: Package and publish ${{ matrix.platform }}
|
||||
run: yarn dist:${{ matrix.platform }}-publish
|
||||
env:
|
||||
EP_RELEASE: true
|
||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
BEATCONNECT_CLIENT_DISCORD_APP_ID: ${{secrets.BEATCONNECT_CLIENT_DISCORD_APP_ID}}
|
||||
BEATCONNECT_CLIENT_GA_TRACKING_ID: ${{secrets.BEATCONNECT_CLIENT_GA_TRACKING_ID}}
|
||||
BEATCONNECT_CLIENT_TOKEN: ${{secrets.BEATCONNECT_CLIENT_TOKEN}}
|
||||
|
||||
+3
-3
@@ -10,7 +10,6 @@
|
||||
"scripts": {
|
||||
"dev": "BEATCONNECT_CLIENT_MIRAGE=1 node scripts/start.js",
|
||||
"start": "electron ./build/main.bundle.js",
|
||||
"dev:win": "@powershell -NoProfile -ExecutionPolicy Unrestricted -Command ./scripts/start.ps1",
|
||||
"build": "node scripts/preBuild.js && node scripts/build.js && node scripts/postBuild.js",
|
||||
"test": "node scripts/test.js",
|
||||
"lint": "yarn lint:prettier && yarn lint:es",
|
||||
@@ -29,7 +28,7 @@
|
||||
"dist:mac-publish": "electron-builder build --mac --x64 -p always",
|
||||
"dist:linux-publish": "electron-builder build --linux --x64 --ia32 -p always",
|
||||
"dist:win-publish": "electron-builder build --win --ia32 --x64 -p always",
|
||||
"dist:gh-publish": "yarn install && yarn build && yarn dist:win-linux-publish && yarn dist:mac-publish",
|
||||
"dist:all-publish": "yarn install && yarn build && yarn dist:win-publish && dist:linux-publish && yarn dist:mac-publish",
|
||||
"electron-dev": "cross-env ELECTRON_START_URL=http://localhost:3200 electron .",
|
||||
"electron:debug-analytics": "cross-env ELECTRON_START_URL=http://localhost:3200 DEBUG=universal-analytics electron .",
|
||||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
|
||||
@@ -59,7 +58,8 @@
|
||||
{
|
||||
"provider": "github",
|
||||
"owner": "yadPe",
|
||||
"repo": "beatconnect_client"
|
||||
"repo": "beatconnect_client",
|
||||
"releaseType": "release"
|
||||
}
|
||||
],
|
||||
"files": [
|
||||
|
||||
Reference in New Issue
Block a user