diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index d499544d..d6c384c8 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -18,18 +18,18 @@ jobs: IS_PRERELEASE: ${{ github.event.release.prerelease }} steps: - name: Checkout (no repo token persisted) - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 persist-credentials: false ref: ${{ github.event.release.tag_name }} - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version-file: '.nvmrc' registry-url: https://registry.npmjs.org/ - cache: 'npm' + package-manager-cache: false - name: Assert latest npm # run: npm i -g npm@latest # pin to v11 until npm v12 bug is fixed: https://github.com/npm/cli/issues/9722 diff --git a/.github/workflows/templates-readme.yml b/.github/workflows/templates-readme.yml index dfea3096..8d81a0fd 100644 --- a/.github/workflows/templates-readme.yml +++ b/.github/workflows/templates-readme.yml @@ -15,9 +15,9 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v7 with: node-version-file: '.nvmrc' registry-url: https://registry.npmjs.org/ diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 38ba9cab..fa8454eb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,9 +12,9 @@ jobs: steps: - name: 'Checkout source code' - uses: actions/checkout@v4 + uses: actions/checkout@v6 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v7 with: node-version-file: '.nvmrc' registry-url: 'https://registry.npmjs.org/'