Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Create npm-publish-github-packages.yml
@ 2023-07-12  7:49 Mdashad071192
  2023-07-12  7:51 ` classabbyamp
  2023-07-12  7:51 ` [PR PATCH] [Closed]: " classabbyamp
  0 siblings, 2 replies; 3+ messages in thread
From: Mdashad071192 @ 2023-07-12  7:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1293 bytes --]

There is a new pull request by Mdashad071192 against master on the void-packages repository

https://github.com/Mdashad071192/void-packages master
https://github.com/void-linux/void-packages/pull/44991

Create npm-publish-github-packages.yml
Yml cream

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/44991.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-44991.patch --]
[-- Type: text/x-diff, Size: 1616 bytes --]

From 17e8f1f84c39669e5559a4cfbff8cbff3f0b7cc7 Mon Sep 17 00:00:00 2001
From: Mdashad071192 <114796851+Mdashad071192@users.noreply.github.com>
Date: Wed, 12 Jul 2023 13:18:33 +0530
Subject: [PATCH] Create npm-publish-github-packages.yml

Yml cream
---
 .../workflows/npm-publish-github-packages.yml | 36 +++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 .github/workflows/npm-publish-github-packages.yml

diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml
new file mode 100644
index 000000000000..47a37f98c8c1
--- /dev/null
+++ b/.github/workflows/npm-publish-github-packages.yml
@@ -0,0 +1,36 @@
+# 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://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
+
+name: Node.js Package
+
+on:
+  release:
+    types: [created]
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v3
+      - uses: actions/setup-node@v3
+        with:
+          node-version: 16
+      - run: npm ci
+      - run: npm test
+
+  publish-gpr:
+    needs: build
+    runs-on: ubuntu-latest
+    permissions:
+      contents: read
+      packages: write
+    steps:
+      - uses: actions/checkout@v3
+      - uses: actions/setup-node@v3
+        with:
+          node-version: 16
+          registry-url: https://npm.pkg.github.com/
+      - run: npm ci
+      - run: npm publish
+        env:
+          NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Create npm-publish-github-packages.yml
  2023-07-12  7:49 [PR PATCH] Create npm-publish-github-packages.yml Mdashad071192
@ 2023-07-12  7:51 ` classabbyamp
  2023-07-12  7:51 ` [PR PATCH] [Closed]: " classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2023-07-12  7:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 175 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/44991#issuecomment-1632021494

Comment:
this is not a nodejs package

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Closed]: Create npm-publish-github-packages.yml
  2023-07-12  7:49 [PR PATCH] Create npm-publish-github-packages.yml Mdashad071192
  2023-07-12  7:51 ` classabbyamp
@ 2023-07-12  7:51 ` classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2023-07-12  7:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1131 bytes --]

There's a closed pull request on the void-packages repository

Create npm-publish-github-packages.yml
https://github.com/void-linux/void-packages/pull/44991

Description:
Yml cream

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-12  7:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-12  7:49 [PR PATCH] Create npm-publish-github-packages.yml Mdashad071192
2023-07-12  7:51 ` classabbyamp
2023-07-12  7:51 ` [PR PATCH] [Closed]: " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).