Update the actions versions to later ones, due to Node 14 being deprecated and the old actions still using that one.
Always run the linting step on the latest LTS version of Node, denoted by lts/*.
Run the tests on the latest LTS version of Node, three previous LTS versions (lts/-n), and the latest one.
Use the --frozen-lockfile flag when installing, to make sure the lockfile has been synced with the package dependencies when the CI runs, otherwise throws an error.
Here is a set of changes to:
lts/*
.lts/-n
), and the latest one.--frozen-lockfile
flag when installing, to make sure the lockfile has been synced with the package dependencies when the CI runs, otherwise throws an error.Any feedback is welcome. :slightly_smiling_face: