Skip to content

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
@iChenLei iChenLei requested a review from matthew-dean April 2, 2023 06:07
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


**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

# 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
@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.

2 participants