Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: yarn test:coverage

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: true
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@master
uses: actions/setup-node@v4
with:
node-version: 24
registry-url: 'https://registry.npmjs.org'
Expand All @@ -37,7 +37,7 @@ jobs:
run: yarn test:coverage

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: yarn test:coverage

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: true
verbose: true
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,27 +34,27 @@
"devDependencies": {
"@babel/preset-typescript": "^7.27.1",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.29.0",
"@eslint/js": "^9.30.1",
"@types/express": "^5.0.3",
"@types/node": "^24.0.1",
"@typescript-eslint/eslint-plugin": "^8.34.0",
"@typescript-eslint/parser": "^8.34.0",
"@vitest/coverage-istanbul": "^3.2.3",
"@vitest/ui": "3.2.3",
"eslint": "^9.29.0",
"@types/node": "^24.0.10",
"@typescript-eslint/eslint-plugin": "^8.36.0",
"@typescript-eslint/parser": "^8.36.0",
"@vitest/coverage-istanbul": "^3.2.4",
"@vitest/ui": "3.2.4",
"eslint": "^9.30.1",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-prettier": "^5.4.1",
"eslint-plugin-prettier": "^5.5.1",
"express": "^5.1.0",
"globals": "^16.2.0",
"globals": "^16.3.0",
"husky": "^9.1.7",
"lint-staged": "^16.1.2",
"npm-prepare-dist": "^0.5.0",
"prettier": "^3.5.3",
"prettier": "^3.6.2",
"rimraf": "^6.0.1",
"tsx": "^4.20.3",
"typescript": "^5.8.3",
"vitest": "^3.2.3"
"vitest": "^3.2.4"
},
"repository": {
"url": "git+https://github.com/bartholomej/node-csfd-api.git",
Expand Down
4 changes: 2 additions & 2 deletions tests/fetchers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const badId = 999999999999999;
// User Ratings
describe('Live: Fetch rating page', () => {
test('Fetch `912-bart` user and check some movie', async () => {
const MOVIE_NAME = 'Na plech';
const MOVIE_NAME = 'Návštěvník';

const movies = await csfd.userRatings('912-bart');
const movieSelected = movies.filter((x) => x.title === MOVIE_NAME)[0];
Expand All @@ -25,7 +25,7 @@ describe('Fetch rating page 2', () => {
test('Fetch `912-bart` user – page 2 and check html', async () => {
const url = userRatingsUrl(912, 2);
const html = await fetchPage(url);
expect(html).toContain('Echo of You');
expect(html).toContain('Můj soused Totoro');
});
});

Expand Down
Loading