Added dexie-observable tests to the matrix #29
Workflow file for this run
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: Build and Test | |
on: [push, workflow_dispatch] | |
env: | |
#LAMBDATEST: "true" # Uncomment this line to run tests on LambdaTest instead of Browserstack | |
GH_ACTIONS: "true" | |
LT_USERNAME: ${{ secrets.LT_USERNAME }} | |
LT_ACCESS_KEY: ${{ secrets.LT_ACCESS_KEY }} | |
BROWSER_STACK_USERNAME: ${{ secrets.BROWSER_STACK_USERNAME }} | |
BROWSER_STACK_ACCESS_KEY: ${{ secrets.BROWSER_STACK_ACCESS_KEY }} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
TF: | |
- test | |
- addons/Dexie.Observable/test/unit | |
#- addons/Dexie.Observable/test/integration | |
#- addons/Dexie.Syncable/test/unit | |
#- addons/Dexie.Syncable/test/integration | |
#- addons/dexie-export-import/test | |
#- libs/dexie-react-hooks/test | |
#- test/integrations/test-dexie-relationships | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install --no-frozen-lockfile | |
- name: Build | |
run: pnpm run build | |
- name: Test | |
run: | | |
cd ${{ matrix.TF }} | |
pwd | |
bash ./gh-actions.sh |