From a5f4cf4bdcbaf8f65be37f58f9bb240c84d691f5 Mon Sep 17 00:00:00 2001 From: Totto16 Date: Thu, 24 Oct 2024 21:57:50 +0200 Subject: [PATCH] ci: use lts node version --- .github/workflows/main.yml | 2 +- .github/workflows/npmpublish.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9525e6c..c2a9d62 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,7 +28,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: latest + node-version: lts/* - name: Install dependencies # If checksum for the `package-lock.json` hasn't changed then we shouldn't run diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 3e648b8..052b6d2 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -1,7 +1,7 @@ name: NPM Publish env: - NODE_VERSION: latest + NODE_VERSION: lts/* on: release: @@ -43,4 +43,4 @@ jobs: - run: npm publish dist/ngx-loading-buttons/ --provenance env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} \ No newline at end of file + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}