From 9f2e5da885f153a9011b72caadd50c3fd46393a4 Mon Sep 17 00:00:00 2001 From: 3urobeat <35304405+3urobeat@users.noreply.github.com> Date: Sat, 7 Sep 2024 13:38:38 +0200 Subject: [PATCH] chore: Update node version in github workflow --- .github/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9cb7382..63933dd 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,5 +1,5 @@ name: npm-publish # Credit: https://github.com/formium/tsdx/issues/854#issuecomment-800112282 (modified to run on release) -on: +on: push: tags: - '*' @@ -16,7 +16,7 @@ jobs: - name: Setup Node.js (NPM) uses: actions/setup-node@master with: - node-version: '12.x' + node-version: '22.x' registry-url: 'https://registry.npmjs.org' - name: Use cached node_modules @@ -65,7 +65,7 @@ jobs: - name: Setup Node.js (GPR) uses: actions/setup-node@master with: - node-version: '12.x' + node-version: '22.x' registry-url: https://npm.pkg.github.com/ scope: '${{ env.actor_name }}' @@ -96,4 +96,4 @@ jobs: run: npm publish --access public env: CI: true - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}