mirror of
https://github.com/aljazceru/satshkd-vercel.git
synced 2025-12-17 05:04:24 +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:
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user