Skip to content

Commit

Permalink
Merge pull request #21 from Aitthi/main
Browse files Browse the repository at this point in the history
build
  • Loading branch information
Aitthi authored Dec 1, 2023
2 parents b4e9fc8 + fef8205 commit 2111ef1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
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

0 comments on commit 2111ef1

Please sign in to comment.