-
Notifications
You must be signed in to change notification settings - Fork 377
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: output to both es module and commJS, PDFParser to be named exp…
…ort (#338) * build: output to both es module and commJS, also make PDFParser to be named export * build: remove out of fate rollup scirpt after rewrite * build: simplif rollup, add more tests * build: replace travis with github action, lint readme * build: fix the ci.yml * build: use node 20 for github action run * build: log process.exit code from jest test * build: refactor check-test job for ci.yml * build: simplify ci.yml
- Loading branch information
Showing
22 changed files
with
9,620 additions
and
6,755 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Node.js CI/CD | ||
|
||
on: | ||
pull_request: | ||
branches: [ "*" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
test-result: ${{ steps.test.outcome }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js 20.x # Updated for Node 20 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20.x | ||
|
||
- name: Run ci | ||
run: npm ci | ||
|
||
- name: Run tests | ||
id: test | ||
run: npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,6 @@ node_modules/ | |
target/ | ||
.idea | ||
.npmrc | ||
package-lock.json | ||
vscode/ | ||
dist/ | ||
lib/pdfjs-code.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
.idea | ||
node_modules/ | ||
target/ | ||
|
||
.gitignore | ||
test | ||
.vscode/ | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.