Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mys1024 committed Mar 17, 2024
1 parent f7f61c9 commit 048dac6
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 13 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,30 @@ jobs:

- name: Test
run: deno task test:cov

npm-trial-build:
name: npm trial build
runs-on: ubuntu-latest
needs: test

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Prepare files
run: mv npm/* .

- name: Setup pnpm
uses: pnpm/action-setup@v3

- name: Setup Node
uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'
cache: pnpm

- name: Install
run: pnpm install

- name: Build
run: pnpm run build
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
registry=https://registry.npmjs.org
@jsr:registry=https://npm.jsr.io
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"deno",
"denoland",
"minzip",
"okikio",
"pnpx",
"runtimes",
"Transferables",
Expand Down
8 changes: 4 additions & 4 deletions deno.lock

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

5 changes: 3 additions & 2 deletions npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "worker-fn hides the complexity of communication between the JavaScript main thread and Worker threads, making it easy to call the functions defined in workers.",
"type": "module",
"author": "mys1024",
"packageManager": "pnpm@8.6.1",
"packageManager": "pnpm@8.15.4",
"license": "MIT",
"homepage": "https://github.com/mys1024/worker-fn#readme",
"repository": {
Expand Down Expand Up @@ -41,7 +41,8 @@
}
},
"devDependencies": {
"@okikio/transferables": "npm:@jsr/okikio__transferables@^1.0.2",
"tsup": "^8.0.2",
"typescript": "^5.3.3"
"typescript": "^5.4.2"
}
}
21 changes: 14 additions & 7 deletions npm/pnpm-lock.yaml

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

0 comments on commit 048dac6

Please sign in to comment.