From 1090d8def08094b9e948c98b44b17de9c309e898 Mon Sep 17 00:00:00 2001 From: mg-twentyone <36_twentyone@proton.me> Date: Wed, 17 Sep 2025 18:09:26 +0200 Subject: [PATCH] ci: fix github workflow (nodejs version) --- .github/workflows/main.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a0c1ebf..a83bf16 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,6 +5,9 @@ name: Simple update btc rates # on: #schedule: # - cron: '5 4 * * *' +on: + push: + branches: [ "ci/fix-workflow" ] jobs: run: @@ -12,11 +15,13 @@ jobs: runs-on: ubuntu-latest steps: - name: setup actions - uses: actions/checkout@v3 - - name: setup node version - uses: actions/setup-node@v1 + uses: actions/checkout@v4 + + - name: Setup Node.js 22 + uses: actions/setup-node@v4 with: - node-version: 22.x + node-version: '22' + - name: add and push run: | npm install