{"id":21297506,"url":"https://github.com/fvdm/nodejs-versions","last_synced_at":"2025-03-15T17:29:09.304Z","repository":{"id":41858339,"uuid":"376889586","full_name":"fvdm/nodejs-versions","owner":"fvdm","description":"The current Node.js LTS versions for use in automation scripts","archived":false,"fork":false,"pushed_at":"2024-05-22T22:11:30.000Z","size":83,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-19T12:54:58.456Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fvdm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-14T16:33:06.000Z","updated_at":"2024-05-22T22:11:34.000Z","dependencies_parsed_at":"2024-05-22T23:26:33.948Z","dependency_job_id":"e0fd80da-38ed-4605-86dc-71ce3b0b6c87","html_url":"https://github.com/fvdm/nodejs-versions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fvdm%2Fnodejs-versions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fvdm%2Fnodejs-versions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fvdm%2Fnodejs-versions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fvdm%2Fnodejs-versions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fvdm","download_url":"https://codeload.github.com/fvdm/nodejs-versions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243765713,"owners_count":20344650,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T14:37:51.843Z","updated_at":"2025-03-15T17:29:09.275Z","avatar_url":"https://github.com/fvdm.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nodejs-versions\n\n[![Update versions](https://github.com/fvdm/nodejs-versions/actions/workflows/update_versions.yml/badge.svg?branch=main)](https://github.com/fvdm/nodejs-versions/actions/workflows/update_versions.yml)\n\nThe current major Node.js versions for use in\nautomation scripts.\n\nAt the moment the list is maintained by hand.\n\nMy packages are always tested against the officialy\nsupported LTS (active) versions.\n\n\n## Files\n\nfile             | stages\n:----------------|:------\ncurrent.json     | Only current\nlts.json         | Only active LTS\nlts-current.json | LTS + current\n\n\n## Data source\n\n- [Node.js release schedule](https://github.com/nodejs/Release)\n- [Node.js release.json](https://raw.githubusercontent.com/nodejs/Release/main/schedule.json)\n\n\n## Github action\n\nHere the `lts.json` is retrieved and made available in\n`needs.lts_versions.outputs.matrix`.\nThen in the build you convert the JSON array to a matrix.\n\n\n```yml\njobs:\n  lts_versions:\n    name: \"Get versions\"\n    runs-on: ubuntu-latest\n    steps:\n      - id: set-matrix\n        run: echo \"matrix=$(curl -s https://raw.githubusercontent.com/fvdm/nodejs-versions/main/lts.json)\" \u003e\u003e $GITHUB_OUTPUT\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n\n  build:\n    name: \"Node\"\n    needs: lts_versions\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        node-version: ${{ fromJson(needs.lts_versions.outputs.matrix) }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Test on Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@v2\n      with:\n        node-version: ${{ matrix.node-version }}\n    - run: npm install\n    - run: npm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffvdm%2Fnodejs-versions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffvdm%2Fnodejs-versions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffvdm%2Fnodejs-versions/lists"}