From 1888a93180ed22e6409aa6c421f8dfec9af8a59c Mon Sep 17 00:00:00 2001 From: Augustin Mauroy <97875033+AugustinMauroy@users.noreply.github.com> Date: Mon, 7 Oct 2024 15:49:06 +0200 Subject: [PATCH 1/3] use `@node-core` --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 695a772..1a0276d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "nodejs-dist-indexer", - "version": "1.7.3", + "name": "@node-core/nodejs-dist-indexer", + "version": "2.0.0", "description": "An application to create nodejs.org distribution index files: index.json and index.tab", "main": "dist-indexer.js", "author": "Rod Vagg ", From 875e30ee85363f25bff5129ffd45a19c1b34397e Mon Sep 17 00:00:00 2001 From: Augustin Mauroy <97875033+AugustinMauroy@users.noreply.github.com> Date: Mon, 7 Oct 2024 15:56:05 +0200 Subject: [PATCH 2/3] chore: add publish workflow --- .github/workflows/release.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..2a7afbc --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,21 @@ +name: Publish Package to npmjs +on: + release: + types: [published] +jobs: + build: + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: '20.x' + registry-url: 'https://registry.npmjs.org' + - run: npm ci + - run: npm publish --provenance --access public + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + \ No newline at end of file From cf0b6cee17547b1c24e1459c88601b32eca79f61 Mon Sep 17 00:00:00 2001 From: Augustin Mauroy Date: Mon, 14 Oct 2024 21:42:12 +0200 Subject: [PATCH 3/3] Delete release.yml --- .github/workflows/release.yml | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 2a7afbc..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Publish Package to npmjs -on: - release: - types: [published] -jobs: - build: - runs-on: ubuntu-latest - permissions: - contents: read - id-token: write - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: '20.x' - registry-url: 'https://registry.npmjs.org' - - run: npm ci - - run: npm publish --provenance --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - \ No newline at end of file