From b3539bb5ca9ef88615af4690c80ad7636ab7908c Mon Sep 17 00:00:00 2001 From: "C++, JS, TS, Python Developer" <65385476+killer069@users.noreply.github.com> Date: Sat, 21 Aug 2021 15:40:49 +0530 Subject: [PATCH 1/6] Update npm-publish.yml --- .github/workflows/npm-publish.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 1b7d373..e59763a 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -17,6 +17,18 @@ jobs: node-version: 16 - run: npm ci - run: npm run build + + publish-npm: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 16 + registry-url: https://registry.npmjs.org/ + - run: npm ci + - run: npm run build - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} From f3bebae59123cdcaf59936c36a1ce620d6c96e82 Mon Sep 17 00:00:00 2001 From: "C++, JS, TS, Python Developer" <65385476+killer069@users.noreply.github.com> Date: Sat, 21 Aug 2021 15:42:23 +0530 Subject: [PATCH 2/6] Delete npm-publish.yml --- .github/workflows/npm-publish.yml | 34 ------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 .github/workflows/npm-publish.yml diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml deleted file mode 100644 index e59763a..0000000 --- a/.github/workflows/npm-publish.yml +++ /dev/null @@ -1,34 +0,0 @@ -# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created -# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages - -name: Node.js Package - -on: - release: - types: [created] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: 16 - - run: npm ci - - run: npm run build - - publish-npm: - needs: build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: 16 - registry-url: https://registry.npmjs.org/ - - run: npm ci - - run: npm run build - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} From 4b5a941973641be2171ebfa0c94e9c35b97c216b Mon Sep 17 00:00:00 2001 From: "C++, JS, TS, Python Developer" <65385476+killer069@users.noreply.github.com> Date: Sat, 21 Aug 2021 15:44:04 +0530 Subject: [PATCH 3/6] Create npm-publish.yml --- .github/workflows/npm-publish.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/npm-publish.yml diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml new file mode 100644 index 0000000..560a870 --- /dev/null +++ b/.github/workflows/npm-publish.yml @@ -0,0 +1,20 @@ +name: Node.js Package + +on: + release: + types: [created] + +jobs: + publish-npm: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 14 + registry-url: https://registry.npmjs.org/ + - run: npm ci + - run: npm run build + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.npm_token}} From f7e755b77a08f28862e79a790850f78f28206808 Mon Sep 17 00:00:00 2001 From: "C++, JS, TS, Python Developer" <65385476+killer069@users.noreply.github.com> Date: Sat, 21 Aug 2021 15:45:44 +0530 Subject: [PATCH 4/6] Delete npm-publish.yml --- .github/workflows/npm-publish.yml | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 .github/workflows/npm-publish.yml diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml deleted file mode 100644 index 560a870..0000000 --- a/.github/workflows/npm-publish.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Node.js Package - -on: - release: - types: [created] - -jobs: - publish-npm: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: 14 - registry-url: https://registry.npmjs.org/ - - run: npm ci - - run: npm run build - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.npm_token}} From 173ab03fcdf79139d5450d0419b79d8029eb0eff Mon Sep 17 00:00:00 2001 From: "C++, JS, TS, Python Developer" <65385476+killer069@users.noreply.github.com> Date: Sat, 21 Aug 2021 15:48:50 +0530 Subject: [PATCH 5/6] Create npm-publish.yml --- .github/workflows/npm-publish.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/npm-publish.yml diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml new file mode 100644 index 0000000..a55bfa1 --- /dev/null +++ b/.github/workflows/npm-publish.yml @@ -0,0 +1,23 @@ +# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created +# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages + +name: Node.js Package + +on: + release: + types: [created] + +jobs: + publish-npm: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 16 + registry-url: https://registry.npmjs.org/ + - run: npm ci + - run: npm run build + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} From adeae23b0b217f52a9927faad9bad501e62f0201 Mon Sep 17 00:00:00 2001 From: "C++, JS, TS, Python Developer" <65385476+killer069@users.noreply.github.com> Date: Sat, 21 Aug 2021 15:59:14 +0530 Subject: [PATCH 6/6] Delete npm-publish.yml --- .github/workflows/npm-publish.yml | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 .github/workflows/npm-publish.yml diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml deleted file mode 100644 index a55bfa1..0000000 --- a/.github/workflows/npm-publish.yml +++ /dev/null @@ -1,23 +0,0 @@ -# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created -# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages - -name: Node.js Package - -on: - release: - types: [created] - -jobs: - publish-npm: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: 16 - registry-url: https://registry.npmjs.org/ - - run: npm ci - - run: npm run build - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}