Skip to content

Commit

Permalink
rainix
Browse files Browse the repository at this point in the history
  • Loading branch information
rouzwelt committed Feb 14, 2024
1 parent 022dffe commit c38ae7b
Show file tree
Hide file tree
Showing 4 changed files with 116 additions and 55 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/rainix.yaml
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
47 changes: 0 additions & 47 deletions .github/workflows/standard-test.yaml

This file was deleted.

78 changes: 70 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,5 +191,8 @@
"webpack": "^5.77.0",
"webpack-cli": "^5.0.1",
"webpack-node-externals": "^3.0.0"
},
"dependencies": {
"@rainlanguage/dotrain": "github:rainlanguage/dotrain#6556a92cffea0a0d8b57ec1950272d198c439322"
}
}

0 comments on commit c38ae7b

Please sign in to comment.