From eec83294dcc7105af3b9c20acb3cf416493eff57 Mon Sep 17 00:00:00 2001 From: Michael Stenta Date: Wed, 31 Jul 2024 10:43:06 -0400 Subject: [PATCH] Remove "Publish to NPM" step from release.yml workflow. The first release of farmOS-timeline does not need to be published to NPM. We only need to build a JS file for inclusion in farmOS core as a first step. --- .github/workflows/release.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a76e9e5..18c1fb0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,12 +19,6 @@ jobs: node-version: '22.x' - run: npm ci - run: npm run build - - name: Publish to NPM - run: | - npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} - npm publish --ignore-scripts --access public - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Create artifact run: | mkdir ${{ env.RELEASE_VERSION }}-dist && cp dist/farmOS-timeline* ${{ env.RELEASE_VERSION }}-dist && zip -r ${{ env.RELEASE_VERSION }}-dist.zip ${{ env.RELEASE_VERSION }}-dist