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
23 changes: 1 addition & 22 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node_version: [20.x, 22.x, 23.x]
node_version: [20.x, 22.x, 24.x]

steps:
- uses: actions/checkout@v4
Expand All @@ -24,38 +24,17 @@ jobs:

- name: run npm scripts
env:
FACEBOOK_APP_ID: ${{ secrets.FACEBOOK_APP_ID }}
FACEBOOK_CLIENT_TOKEN: ${{ secrets.FACEBOOK_CLIENT_TOKEN }}
PROXY_SERVER: ${{ secrets.PROXY_SERVER }}
run: |
npm install
npm run lint
npm run build --if-present
npm run test

- name: Coveralls Parallel
uses: coverallsapp/github-action@v2
with:
flag-name: run-${{ join(matrix.*, '-') }}
parallel: true
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: cache node modules
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-

finish:
needs: test
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2
with:
parallel-finished: true
carryforward: "run-20.x,run-22.x,run-23.x"

4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Extract oEmbed content from given URL.
[![NPM](https://badge.fury.io/js/@extractus%2Foembed-extractor.svg)](https://badge.fury.io/js/@extractus%2Foembed-extractor)
![CodeQL](https://github.com/extractus/oembed-extractor/workflows/CodeQL/badge.svg)
[![CI test](https://github.com/extractus/oembed-extractor/workflows/ci-test/badge.svg)](https://github.com/extractus/oembed-extractor/actions)
[![Coverage Status](https://coveralls.io/repos/github/extractus/oembed-extractor/badge.svg)](https://coveralls.io/github/extractus/oembed-extractor)

## Demo

Expand Down Expand Up @@ -45,9 +44,6 @@ import { extract } from 'npm:@extractus/oembed-extractor'
import { extract } from "https://esm.sh/@extractus/oembed-extractor@latest"
```

Please check [the examples](examples) for reference.


## APIs

### `.extract()`
Expand Down
17 changes: 0 additions & 17 deletions examples/browser-oembed-parser/.gitignore

This file was deleted.

33 changes: 0 additions & 33 deletions examples/browser-oembed-parser/README.md

This file was deleted.

12 changes: 0 additions & 12 deletions examples/browser-oembed-parser/package.json

This file was deleted.

1 change: 0 additions & 1 deletion examples/browser-oembed-parser/public/chota.min.css

This file was deleted.

88 changes: 0 additions & 88 deletions examples/browser-oembed-parser/public/index.html

This file was deleted.

30 changes: 0 additions & 30 deletions examples/browser-oembed-parser/server.js

This file was deleted.

Loading
Loading