Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packages updates and few fixes #38

Merged
merged 8 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
- run: npm ci
node-version: 20
- run: npm ci --legacy-peer-deps
- run: npm run build
- run: npm run test

Expand All @@ -27,9 +27,9 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm ci --legacy-peer-deps
- run: npm run build
- run: npm run release
- run: npm publish
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull-request-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
- name: NodeJS setup
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 20
registry-url: https://registry.npmjs.org/
- name: Installing dependencies
run: npm ci
run: npm ci --legacy-peer-deps
- name: Build dev
run: npm run build
- name: Testing
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
- name: NodeJS setup
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 20
registry-url: https://registry.npmjs.org/
- name: Installing dependencies
run: npm ci
run: npm ci --legacy-peer-deps
- name: Build dev
run: npm run build
- name: Build release (minimized)
Expand Down
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
!dist/*

!src/
!src/sonj-review.d.ts
!src/**/*
26 changes: 13 additions & 13 deletions docs/sonj-review.js

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

2 changes: 1 addition & 1 deletion docs/sonj-review.js.map

Large diffs are not rendered by default.

File renamed without changes.
6 changes: 0 additions & 6 deletions jest-setup.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
import { setupJestScreenshot } from "jest-screenshot";
import { readFileSync } from "fs";

setupJestScreenshot({
detectAntialiasing: true,
reportDir: "test/__report__"
});

export const setupTest = async () => {

page.on('pageerror', ({ message }) => console.log(message));
Expand Down
Loading
Loading