Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build #21

Merged
merged 2 commits into from
Dec 1, 2023
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
19 changes: 2 additions & 17 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ jobs:
with:
node-version: 18
check-latest: true
# cache: pnpm
- name: Install
uses: dtolnay/rust-toolchain@stable
if: ${{ !matrix.settings.docker }}
Expand Down Expand Up @@ -127,18 +126,6 @@ jobs:
name: bindings-${{ matrix.settings.target }}
path: ${{ env.APP_NAME }}.*.node
if-no-files-found: error
- name: Upload artifact index.js
uses: actions/upload-artifact@v3
with:
name: bindings-${{ matrix.settings.target }}
path: index.js
if-no-files-found: error
- name: Upload artifact index.d.ts
uses: actions/upload-artifact@v3
with:
name: bindings-${{ matrix.settings.target }}
path: index.d.ts
if-no-files-found: error
publish:
name: Publish
runs-on: ubuntu-latest
Expand All @@ -151,7 +138,6 @@ jobs:
with:
node-version: 18
check-latest: true
# cache: pnpm
- name: Install dependencies
run: npx pnpm install
- name: Download all artifacts
Expand All @@ -163,12 +149,11 @@ jobs:
- name: List packages
run: ls -R ./npm
shell: bash
- name: build ts
run: npx pnpm build
- name: List Dir
run: ls -la
shell: bash
- name: List artifacts
run: ls -la artifacts
shell: bash
- name: Publish
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nylon-rs",
"version": "2.0.1",
"version": "2.0.2",
"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