-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
116 additions
and
55 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Rainix CI | ||
on: [push] | ||
|
||
jobs: | ||
rainix: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
fail-fast: false | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
DEPLOYMENT_KEY: ${{ github.ref == 'refs/heads/main' && secrets.PRIVATE_KEY || secrets.PRIVATE_KEY_DEV }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: DeterminateSystems/nix-installer-action@v4 | ||
- uses: DeterminateSystems/magic-nix-cache-action@v2 | ||
|
||
- name: Install | ||
run: nix run .#build | ||
|
||
- name: Build Prod | ||
run: nix develop -c npm run build-prod | ||
|
||
- name: Build Dev | ||
run: nix develop -c npm run build | ||
|
||
- name: Lint | ||
run: nix develop -c npm run lint | ||
|
||
# install playwright | ||
- name: Install Playwright | ||
run: nix develop -c npx playwright install | ||
|
||
# Run the desktop tests using headless setup | ||
- name: Desktop Extension Test | ||
uses: coactions/setup-xvfb@v1 | ||
with: | ||
run: nix develop -c npm run test-desktop | ||
|
||
# Run the web extention tests | ||
- name: Web Extension Test | ||
run: nix develop -c npm run test-web |
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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