ide: small cleanup (#1859) #88
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [trunk] | |
jobs: | |
release: | |
name: Release IDE to GitHub for ${{ matrix.platform }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
platform: linux | |
- os: windows-latest | |
platform: windows | |
- os: macos-latest | |
platform: mac | |
permissions: | |
actions: read | |
checks: read | |
contents: write | |
deployments: read | |
issues: read | |
discussions: read | |
packages: read | |
pages: read | |
pull-requests: read | |
repository-projects: read | |
security-events: read | |
statuses: read | |
if: github.repository == 'seleniumhq/selenium-ide' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
registry-url: 'https://registry.npmjs.org' | |
- name: Install pnpm | |
run: npm i -g pnpm | |
- name: Install dependencies | |
run: pnpm -r i | |
- name: Install dependencies | |
run: npm run install-app-deps | |
working-directory: ./packages/selenium-ide | |
- name: Build all JS | |
run: pnpm run build | |
env: | |
NODE_ENV: "production" | |
- name: Build selenium-ide binaries | |
run: npm run publish:electron:${{ matrix.platform }} | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
working-directory: ./packages/selenium-ide | |