From 57f6e8adba42ffcd1af30b9c6fb9e15b8e0f2a1f Mon Sep 17 00:00:00 2001 From: pablomendezroyo <41727368+pablomendezroyo@users.noreply.github.com> Date: Thu, 7 Nov 2024 20:33:19 +0100 Subject: [PATCH 1/4] Add tailscale to whitelist (#2056) --- packages/schemas/src/params.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/schemas/src/params.ts b/packages/schemas/src/params.ts index 70fc384ee..71b4f402f 100644 --- a/packages/schemas/src/params.ts +++ b/packages/schemas/src/params.ts @@ -16,7 +16,8 @@ export const dockerParams = { "wireguard.dnp.dappnode.eth", "core.dnp.dappnode.eth", "dappnode-exporter.dnp.dappnode.eth", - "dms.dnp.dappnode.eth" + "dms.dnp.dappnode.eth", + "tailscale.dnp.dappnode.eth" ], DOCKER_CORE_ALIASES: [ "dappmanager.dappnode", From 137d261de9da9ef293d2a95316d5939b5c0b2f8f Mon Sep 17 00:00:00 2001 From: pablomendezroyo Date: Thu, 7 Nov 2024 20:39:18 +0100 Subject: [PATCH 2/4] add enable corepack to npm workflow --- .github/workflows/npm.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index 38e4bafbc..88f23b93a 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -18,6 +18,9 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Enable Corepack + run: corepack enable + - name: Validate package name run: | if [[ ${{ github.event.inputs.packageName }} != "schemas" && ${{ github.event.inputs.packageName }} != "types" && ${{ github.event.inputs.packageName }} != "toolkit" ]]; then From f63bd9730e4a7a5e02f0d4d0d880b2e5794450db Mon Sep 17 00:00:00 2001 From: pablomendezroyo Date: Thu, 7 Nov 2024 20:48:23 +0100 Subject: [PATCH 3/4] add npm to publish command --- .github/workflows/npm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index 88f23b93a..ecf0e13a0 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -47,7 +47,7 @@ jobs: - name: Build and Publish run: | cd packages/${{ github.event.inputs.packageName }} - yarn publish --new-version ${{ github.event.inputs.version }} --access public --non-interactive --no-git-tag-version + yarn npm publish --new-version ${{ github.event.inputs.version }} --access public --non-interactive --no-git-tag-version env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} From ea841a739413224e2dc11d03a5fdf7a38b4e9b45 Mon Sep 17 00:00:00 2001 From: pablomendezroyo Date: Thu, 7 Nov 2024 20:54:04 +0100 Subject: [PATCH 4/4] remove unused flags --- .github/workflows/npm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index ecf0e13a0..7f1b2a044 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -47,7 +47,7 @@ jobs: - name: Build and Publish run: | cd packages/${{ github.event.inputs.packageName }} - yarn npm publish --new-version ${{ github.event.inputs.version }} --access public --non-interactive --no-git-tag-version + yarn npm publish --tag ${{ github.event.inputs.version }} --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}