From 17bc3a54627488cb0525e80c37823abf1fbce9cd Mon Sep 17 00:00:00 2001 From: Orlando Calvo Date: Sat, 9 Dec 2023 22:32:48 -0500 Subject: [PATCH] fix disabling cicd for now --- .github/workflows/ci.yml | 47 +++++++++++++++------------------- package.json | 2 +- react-nexbot-test/package.json | 2 +- 3 files changed, 23 insertions(+), 28 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b8c9feb..53c8461 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,31 +1,26 @@ -name: Node.js CI/CD +# name: Node.js CI/CD -on: - push: - branches: [ main, dev ] +# on: +# push: +# branches: [ main ] -jobs: - build-and-publish: - runs-on: ubuntu-latest +# jobs: +# build-and-publish: +# runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Use Node.js - uses: actions/setup-node@v2 - with: - node-version: '14' - registry-url: 'https://registry.npmjs.org/' +# steps: +# - uses: actions/checkout@v2 +# - name: Use Node.js +# uses: actions/setup-node@v2 +# with: +# node-version: '14' +# registry-url: 'https://registry.npmjs.org/' - - name: Install Dependencies - run: npm install +# - name: Install Dependencies +# run: npm install - - name: Run Tests - id: tests - run: npm test - - - - name: Publish to Public NPM - if: github.ref == 'refs/heads/main' - run: npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.PUBLISH}} +# - name: Publish to Public NPM +# if: github.ref == 'refs/heads/main' +# run: npm publish +# env: +# NODE_AUTH_TOKEN: ${{secrets.PUBLISH}} diff --git a/package.json b/package.json index 291e99f..a4a01a8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-nexbot", - "version": "1.0.1", + "version": "1.0.2", "description": "Hooks and utilities to chat with NEXBots from your project", "main": "./dist/index.js", "types": "./dist/index.d.ts", diff --git a/react-nexbot-test/package.json b/react-nexbot-test/package.json index 433feca..735b3ea 100644 --- a/react-nexbot-test/package.json +++ b/react-nexbot-test/package.json @@ -9,7 +9,7 @@ "axios": "^1.6.2", "react": "^18.2.0", "react-dom": "^18.2.0", - "react-nexbot": "file:../react-nexbot-1.0.1.tgz", + "react-nexbot": "file:../react-nexbot-1.0.2.tgz", "react-scripts": "5.0.1", "web-vitals": "^2.1.4" },