4
0
Fork 0
mirror of https://github.com/actions/setup-node.git synced 2025-11-11 14:56:55 +00:00
Commit graph

9 commits

Author SHA1 Message Date
Salman Muin Kayser Chishti
81b484e462 feat: migrate to ESM and update Jest configuration
- Added package.json in dist/setup to specify module type as ESM.
- Updated jest.config.js to support ESM with ts-jest and added moduleNameMapper for .js extensions.
- Created jest.setup.js to ensure Jest globals are available in ESM mode.
- Modified test script in package.json to use node with experimental VM modules for Jest.
- Updated imports in various distribution files to include .js extensions for ESM compatibility.
- Adjusted tsconfig.json to exclude __tests__ directory and maintain ESM settings.
- Updated package-lock.json to include new dependencies and their versions.
2025-10-14 14:21:06 +01:00
Salman Muin Kayser Chishti
100690a6a6 Upgrade to ESM and upgrade node fetch 2025-10-14 14:07:58 +01:00
Ivan
962678f22c
Add and configure ESLint and update configuration for Prettier (#703)
* Add ESLinter and update Prettier

* Update eslint config

* Update dependencies

* Rebuild action

* Update package.json

* Updates docs

* Update docs
2023-03-08 10:47:38 +02:00
Jef LeCompte
1a4ff5493d
feat: add volta as node-version-file 2022-06-29 12:01:42 -07:00
Meng Ye
f099707f6e
fix tsc build error for @actions/http-client (#402) 2022-01-11 13:06:36 +03:00
Bryan MacFarlane
e434342e4e
download from node-versions and fallback to node dist (#147)
* download LTS versions from releases

* support upcoiming ghes 

Co-authored-by: eric sciple <ericsciple@users.noreply.github.com>
2020-05-19 09:25:54 -04:00
eric sciple
d123f10543
follow proxy settings (#105) 2020-01-27 10:37:12 -05:00
Danny McCormick
78148dae50
Add auth support (#21)
* Updates

* Update

* Update

* Update

* Update

* Yarn sometimes prefers npmrc, so use same token

* Description

* Update readme

* Feedback

* Add type

* new toolkit and scoped registries

* npmrc in RUNNER_TEMP

* Dont always auth

* Try exporting blank token

* Get auth working for now pending runner changes

* Fix string interpolation for auth token.

* Don't export both userconfigs

* Update authutil.js

* Add single quotes for authString

* Fix the registry string.

* Use userconfig and append trailing slash

* Keep in root of repo

* Try just adding auth token

* Remove auth token

* Try changes again

* Add tests

* Npm and GPR samples

* Add types
2019-08-06 18:26:04 -04:00
Chris Patterson
9bb7038a07 Initial Import 2019-08-03 21:49:54 -04:00