Skip to content

Commit

Permalink
[CI] Update release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
flavioislima committed Nov 4, 2023
1 parent 9cd6608 commit 8df9df2
Show file tree
Hide file tree
Showing 5 changed files with 396 additions and 27 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/draft-release-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn release:linux
node-version: '20'
- name: install node-gyp
run: npm install -g node-gyp
- run: npm i --legacy-peer-deps
- run: npm run release:linux
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
GH_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/draft-release-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
node-version: '20'
- name: install node-gyp
run: npm install -g node-gyp
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: python3 -m pip install castlabs-evs
- run: yarn install --force
- run: yarn release:mac
- run: npm i --legacy-peer-deps
- run: npm run release:mac
4 changes: 3 additions & 1 deletion .github/workflows/draft-release-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '20'
- name: install node-gyp
run: npm install -g node-gyp
- uses: actions/setup-python@v4
with:
python-version: '3.10'
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
]
},
"devDependencies": {
"@electron/notarize": "1.2.3",
"@electron/notarize": "^2.1.0",
"@playwright/test": "1.32.1",
"@testing-library/dom": "9.0.1",
"@testing-library/jest-dom": "5.16.4",
Expand Down Expand Up @@ -257,6 +257,7 @@
"husky": "8.0.3",
"i18next-parser": "7.7.0",
"jest": "29.5.0",
"node-gyp": "^10.0.1",
"playwright": "1.32.1",
"prettier": "2.8.1",
"pretty-quick": "3.1.3",
Expand Down
Loading

0 comments on commit 8df9df2

Please sign in to comment.