fix(workflow): lack of build step in release workflow #47
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
name: Functional tests | ||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
- 'main' | ||
- 'next' | ||
- '*.*' | ||
pull_request: | ||
branches: [ master ] | ||
env: | ||
CI: true | ||
jobs: | ||
install: | ||
name: Install dependencies | ||
uses: ./.github/workflows/functional-tests-install.yml | ||
Check failure on line 19 in .github/workflows/functional-tests.yml GitHub Actions / .github/workflows/functional-tests.ymlInvalid workflow file
|
||
electron-latest: | ||
name: Test electron@latest | ||
runs-on: ubuntu-latest | ||
needs: install | ||
steps: | ||
- name: Download install artifact | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: install | ||
- name: Untar files | ||
run: tar -xf install.tar | ||
- name: Run tests | ||
run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test:functional | ||
electron-30: | ||
name: Test electron@30 | ||
runs-on: ubuntu-latest | ||
needs: install | ||
steps: | ||
- name: Download install artifact | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: install | ||
- name: Untar files | ||
run: tar -xf install.tar | ||
- name: Install electron@30 | ||
run: npm install electron@30 | ||
- name: Run tests | ||
run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test:functional | ||
electron-29: | ||
name: Test electron@29 | ||
runs-on: ubuntu-latest | ||
needs: install | ||
steps: | ||
- name: Download install artifact | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: install | ||
- name: Untar files | ||
run: tar -xf install.tar | ||
- name: Install electron@29 | ||
run: npm install electron@29 | ||
- name: Run tests | ||
run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test:functional | ||
clear: | ||
name: Clear artifacts | ||
runs-on: ubuntu-latest | ||
needs: [electron-latest, electron-30, electron-29] | ||
steps: | ||
- uses: geekyeggo/delete-artifact@v5 | ||
with: | ||
name: install |