mirror of
https://github.com/aljazceru/satshkd-vercel.git
synced 2025-12-17 13:14:25 +01:00
ci: fix github workflow (nodejs version)
This commit is contained in:
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
@@ -5,6 +5,9 @@ name: Simple update btc rates
|
|||||||
# on:
|
# on:
|
||||||
#schedule:
|
#schedule:
|
||||||
# - cron: '5 4 * * *'
|
# - cron: '5 4 * * *'
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "ci/fix-workflow" ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run:
|
run:
|
||||||
@@ -12,11 +15,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: setup actions
|
- name: setup actions
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: setup node version
|
|
||||||
uses: actions/setup-node@v1
|
- name: Setup Node.js 22
|
||||||
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 22.x
|
node-version: '22'
|
||||||
|
|
||||||
- name: add and push
|
- name: add and push
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
|
|||||||
Reference in New Issue
Block a user