Skip to content

Commit

Permalink
sftp-test
Browse files Browse the repository at this point in the history
  • Loading branch information
DevCaikun committed Jul 13, 2024
1 parent f10fee9 commit eb74244
Showing 1 changed file with 30 additions and 5 deletions.
35 changes: 30 additions & 5 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,30 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI

# ftp版本
# ftp,centos或Linux版
#name: CI
#
#on:
# push:
# branches:
# - main
#
#jobs:
# build:
# runs-on: self-hosted
#
# steps:
# - name: Checkout code
# uses: actions/checkout@v2
#
# - name: Run a script
# run: echo "Running on CentOS 8.2"

# ftp,ubuntu版本

#name: Node.js CI

##on: [push]
#on:
# push:
Expand Down Expand Up @@ -36,18 +57,22 @@ name: Node.js CI
# env:
# CI: true

# sftp版本
# sftp版本,ubuntu系统

name: Node.js CI

on:
push:
branches: [ "master" ]
# pull_request:
# branches: [ "master" ]
jobs:
build:
runs-on: centos-8.2
# ubuntu系统
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit eb74244

Please sign in to comment.