Skip to content

Commit

Permalink
Merge pull request #27 from Aitthi/main
Browse files Browse the repository at this point in the history
fix: ci
  • Loading branch information
Aitthi authored Dec 2, 2023
2 parents 6f8b390 + 218a72d commit 6e9334c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,8 @@ jobs:
- name: List Dir
run: ls -la
shell: bash
- name: remove nylon-rs-win32-x64-msv
run: curl -L https://github.com/jqlang/jq/releases/download/jq-1.7/jq-linux-amd64 -o jq && jq 'del(.optionalDependencies."nylon-rs-win32-x64-msvc")' package.json > package.json.tmp && mv package.json.tmp package.json
shell: bash
- name: cat package.json
run: cat package.json
- name: download jq
run: curl -L https://github.com/jqlang/jq/releases/download/jq-1.7/jq-linux-amd64 -o jq
shell: bash
- name: Publish
run: |
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nylon-rs",
"version": "2.0.4",
"version": "2.0.5",
"description": "Nylon is a web framework for Node.js built with Tokio, Tower, Hyper, and Napi-rs",
"main": "index.js",
"repository": "https://github.com/Aitthi/nylon",
Expand Down Expand Up @@ -42,7 +42,7 @@
"format:toml": "taplo format",
"format:rs": "cargo fmt",
"lint": "eslint . -c ./.eslintrc.yml",
"publish:all": "mkdir -p dist && napi prepublish -t npm && cp index.js dist && cp index.d.ts dist && cp package.json dist && cp README.md dist && cp LICENSE dist && cd dist && npm publish --access public",
"publish:all": "mkdir -p dist && napi prepublish -t npm && jq 'del(.optionalDependencies.\"nylon-rs-win32-x64-msvc\")' package.json > dist/package.json && cp index.js dist && cp index.d.ts dist && cp README.md dist && cp LICENSE dist && cd dist && npm publish --access public",
"version": "napi version",
"dev:watch": "RUST_BACKTRACE=1 cargo watch -c -q -w src -w examples -s 'npm run build:debug && ts-node examples/main.ts --project examples/tsconfig.json'"
},
Expand Down

0 comments on commit 6e9334c

Please sign in to comment.