Bug Report 🐛
This issue addresses updating actions/setup-node and actions/checkout to v4 in publish.yml for improved performance and security. Additionally, it seeks clarification on the usage of matrix.node-version, which is referenced in the workflow but not explicitly defined.
Expected Behavior
actions/checkout@v4
actions/setup-node@v4
Current Behavior
actions/checkout@v2
actions/setup-node@v1
Possible Solution
- Upgrade actions/checkout@v2 to actions/checkout@v4
- Upgrade actions/setup-node@v1 to actions/setup-node@v4
Clarification Needed
The workflow references matrix.node-version, but there is no explicit definition of matrix in this file.

If matrix.node-version needs to be explicitly defined, I can raise a separate PR for that.
Otherwise, I will proceed with only the version upgrades.