Skip to content

Commit

Permalink
CI install Playwright before dependencies and Ensure at least 1 passi…
Browse files Browse the repository at this point in the history
…ng test per project to avoid NPM errors

Signed-off-by: Frank Hinek <[email protected]>
  • Loading branch information
frankhinek committed May 17, 2023
1 parent 042e629 commit 8f5c011
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ jobs:
- name: Install latest npm
run: npm install -g npm@latest

- name: Install Playwright Browsers
run: npx playwright install --with-deps

- name: Install dependencies
run: npm ci

- name: Install Playwright Browsers
run: npx playwright install --with-deps

- name: Build all workspace packages
run: npm run build

Expand Down
6 changes: 5 additions & 1 deletion packages/crypto/tests/needed.spec.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import { expect } from 'chai';

describe('@tbd54566975/crypto', () => {
xit('should have tests');
it('should have tests', () => {
expect(true).to.equal(true);
});
});
6 changes: 5 additions & 1 deletion packages/web5-agent/tests/needed.spec.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import { expect } from 'chai';

describe('@tbd54566975/web5-agent', () => {
xit('should have tests');
it('should have tests', () => {
expect(true).to.equal(true);
});
});
6 changes: 5 additions & 1 deletion packages/web5-proxy-agent/tests/needed.spec.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import { expect } from 'chai';

describe('@tbd54566975/web5-proxy-agent', () => {
xit('should have tests');
it('should have tests', () => {
expect(true).to.equal(true);
});
});

0 comments on commit 8f5c011

Please sign in to comment.