e2e tests for layers and details components #264
Workflow file for this run
This file contains hidden or 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
| name: react-geo-trial | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| name: Build App | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [windows-latest, macos-latest, ubuntu-latest] | |
| include: | |
| - os: windows-latest | |
| target: squirrel | |
| - os: macos-latest | |
| target: dmg | |
| - os: ubuntu-latest | |
| target: deb | |
| steps: | |
| # Checkout the code | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| # Set up Node.js | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 18 | |
| cache: 'yarn' | |
| # Install dependencies | |
| - name: Install dependencies | |
| run: yarn install | |
| # Build the Electron app (Make sure the app is packaged first) | |
| - name: Package Electron App | |
| run: yarn package-electron | |
| # Build the Electron app | |
| - name: Build app | |
| run: yarn make-electron | |
| env: | |
| ELECTRON_MAKER_TARGETS: ${{ matrix.target }} | |
| # Upload artefacts for PRs or tagged releases | |
| - name: Upload artefacts | |
| uses: actions/upload-artifact@v4 | |
| if: success() | |
| with: | |
| name: ${{ matrix.os }}-nightly | |
| path: out/make/ |