Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: update the ci config #3789

Merged
merged 3 commits into from Apr 4, 2023
Merged

ci: update the ci config #3789

merged 3 commits into from Apr 4, 2023

Conversation

iChenLei
Copy link
Member

@iChenLei iChenLei commented Apr 2, 2023

What:

Change the github actions ci config

Why:

Current Node.js LTS version is v18, and v19 has been released.

How:

Change the Node.js version in the matrix tests from v16 to the latest LTS version, v18, and add tests for Node.js v19.

Checklist:

  • Documentation
  • Added/updated unit tests
  • Code complete

Change the Node.js version in the matrix tests from v16 to the latest LTS version, v18, and add tests for Node.js v19.
@iChenLei iChenLei marked this pull request as ready for review April 2, 2023 05:03
@@ -21,18 +21,6 @@ jobs:
with:
# The Node.js version to configure
node-version: ${{ matrix.node }}
# Caching dependencies to speed up workflows
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the npm cache logic ( it's not very useful

@@ -18,10 +18,6 @@ merge of your pull request!

**Why**:

<!-- How were these changes implemented? -->
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this

@@ -2,7 +2,11 @@
name: Nodejs Test

# Triggers the workflow on push or pull request events
on: [push, pull_request]
on:
push:
Copy link
Member Author

@iChenLei iChenLei Apr 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reduce redundant ci trigger

@iChenLei iChenLei merged commit a917965 into less:master Apr 4, 2023
8 checks passed
@iChenLei iChenLei deleted the ci-matrix branch April 5, 2023 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants