From 497a41d1d03e3d31cfbcd98bb44570c2fb354c2a Mon Sep 17 00:00:00 2001 From: fardieov Date: Sun, 30 Jun 2024 21:13:11 +0300 Subject: [PATCH 1/3] Create npm-publish-github-packages.yml Signed-off-by: fardieov --- .../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 00000000..0f838d5b --- /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@v4 + - 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@v4 + - 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}} From 0fcd6a09d460b167a05ce37b0fb556a94d31c91f Mon Sep 17 00:00:00 2001 From: fardieov Date: Sun, 30 Jun 2024 21:15:57 +0300 Subject: [PATCH 2/3] Update-a-fork Signed-off-by: fardieov --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index cede40b9..93db7269 100644 --- a/README.md +++ b/README.md @@ -42,3 +42,6 @@ For more info on development/contributions, see [CONTRIBUTING.md](./.github/CONT Discord Developers


+upd 2024 + +fork mission. From fff0e65280c8c2e0651cf71eac4156ecdd2b7adb Mon Sep 17 00:00:00 2001 From: fardieov Date: Sun, 30 Jun 2024 21:19:30 +0300 Subject: [PATCH 3/3] Create SECURITY.md Signed-off-by: fardieov --- SECURITY.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 SECURITY.md diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 00000000..034e8480 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,21 @@ +# Security Policy + +## Supported Versions + +Use this section to tell people about which versions of your project are +currently being supported with security updates. + +| Version | Supported | +| ------- | ------------------ | +| 5.1.x | :white_check_mark: | +| 5.0.x | :x: | +| 4.0.x | :white_check_mark: | +| < 4.0 | :x: | + +## Reporting a Vulnerability + +Use this section to tell people how to report a vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc.