From fc1477b20bd49c6628c71978c118b260dfbd9f52 Mon Sep 17 00:00:00 2001 From: zhid0399123 Date: Thu, 25 Jan 2024 21:13:15 +0300 Subject: [PATCH] chore: changed node-version to 20 --- .github/workflows/CD.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index f80a1a6..dcd04c9 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -6,6 +6,10 @@ on: types: - completed +env: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + HUSKY: 0 + jobs: publish: runs-on: ubuntu-latest @@ -17,7 +21,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v3 with: - node-version: 21 + node-version: 20 - name: Publish to npm registry run: | @@ -27,6 +31,3 @@ jobs: else echo "NPM_TOKEN is missing. Package will not be published." fi - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - HUSKY: 0