Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Commit

Permalink
Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldingAustin committed Apr 12, 2023
1 parent 9204601 commit a1cb5f5
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 193 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest

env:
CYPRESS_INSTALL_BINARY: 0
strategy:
matrix:
node-version: [16.19.0]
Expand Down
3 changes: 3 additions & 0 deletions .moon/tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ tasks:
release-mac:
command: 'pkg ./package.json -t node16-mac -o @out(0)'
deps:
- ~:fetch-pkg-mac
- ~:build
platform: node
outputs:
Expand All @@ -250,6 +251,7 @@ tasks:
release-linux:
command: 'pkg ./package.json -t node16-linux -o @out(0)'
deps:
- ~:fetch-pkg-linux
- ~:build
platform: node
outputs:
Expand All @@ -260,6 +262,7 @@ tasks:
release-windows:
command: 'pkg ./package.json -t node16-win -o @out(0)'
deps:
- ~:fetch-pkg-windows
- ~:build
outputs:
- /release/windows/RedEye
Expand Down
6 changes: 3 additions & 3 deletions applications/server/moon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,23 @@ tasks:
runDepsInParallel: false
release-mac:
deps:
- '@redeye/client:build'
- client:build
- ~:build
outputs:
- /release/mac/RedEye
options:
runInCI: false
release-linux:
deps:
- '@redeye/client:build'
- client:build
- ~:build
outputs:
- /release/linux/RedEye
options:
runInCI: false
release-windows:
deps:
- '@redeye/client:build'
- client:build
- ~:build
outputs:
- /release/windows/RedEye
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"cy:open": "yarn moon run @redeye/e2e:open-cy",
"cy:open-blue": "yarn moon run @redeye/e2e:open-cy-blue",
"start:blue": "SERVER_BLUE_TEAM=true yarn run start:dev",
"release:all": "yarn moon run server:release-all cs-parser:release-all",
"release:all": "yarn moon run server:release-all && yarn moon run cs-parser:release-all",
"release:mac": "yarn moon run server:release-mac cs-parser:release-mac",
"release:linux": "yarn moon run server:release-linux cs-parser:release-linux",
"release:windows": "yarn moon run server:release-windows cs-parser:release-windows"
Expand Down Expand Up @@ -185,8 +185,8 @@
"mocha-junit-reporter": "^2.0.2",
"node-gyp": "^8.1.0",
"nodemon": "^2.0.20",
"pkg": "^5.8.0",
"pkg-fetch": "^3.4.2",
"pkg": "^5.8.1",
"pkg-fetch": "^3.5.2",
"prettier": "^2.2.1",
"rimraf": "^4.1.2",
"rollup-plugin-auto-external": "^2.0.0",
Expand Down
Loading

0 comments on commit a1cb5f5

Please sign in to comment.