Skip to content

Commit

Permalink
modify some code in circleci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nil2022 committed Jan 11, 2024
1 parent 860d6c2 commit f432e4a
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,23 @@ version: 2.1
# See: https://circleci.com/docs/configuration-reference/#jobs
jobs:
check-node-version:
runs-on: ubuntu-latest

# Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub.
# See: https://circleci.com/docs/configuration-reference/#executor-job
docker:
- image: cimg/base:stable
# Add steps to the job
# See: https://circleci.com/docs/configuration-reference/#steps
steps:
- checkout
- run:
# Check Node version
name: "Check Node.js version"
command: "node --version"

- name: Use Node.js
uses: actions/setup-node@v4

- name: Check Node.js version
run: |
node --version

workflows:
check-node-version-workflow:
jobs:
- check-node-version
workflows:
check-node-version-workflow:
jobs:
- check-node-version
# # Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub.
# # See: https://circleci.com/docs/configuration-reference/#executor-job
# docker:
Expand Down

0 comments on commit f432e4a

Please sign in to comment.