From ae5f13cb93dc04c1318e4e91ed23edb03c8bda50 Mon Sep 17 00:00:00 2001 From: eslam3bed <20760072+Eslam3bed@users.noreply.github.com> Date: Tue, 24 Sep 2024 02:14:54 +0300 Subject: [PATCH] update --- .github/workflows/release.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7f87318..47fce3a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,9 +11,14 @@ jobs: release: runs-on: ubuntu-latest steps: - + - name: Setup Node.js 20 + uses: actions/setup-node@v3 + with: + node-version: '20' + registry-url: "https://registry.npmjs.org" + - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Tag the repository id: tag @@ -28,6 +33,7 @@ jobs: - name: Publish to npm run: npm publish + env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}