diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 80953bf..89cf4b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,11 +10,8 @@ jobs: with: node-version-file: .nvmrc - name: Install dependencies - run: | - npm install - npm install @web/test-runner-playwright --no-save - npx playwright install-deps + run: npm install - name: Lint (JavaScript) run: npm run lint - name: Unit Tests (cross-browser) - run: npx web-test-runner --files ./test/*.test.js --node-resolve --playwright --browsers chromium firefox webkit + run: npm run test:headless diff --git a/package.json b/package.json index c164015..fa72f41 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "devDependencies": { "@babel/core": "^7", "@babel/eslint-parser": "^7", - "@brightspace-ui/testing": "^0.34", + "@brightspace-ui/testing": "^1", "@web/dev-server": "^0.2", "eslint": "^8", "eslint-config-brightspace": "^0.17",