You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our codebase there is some Date internationalization code. We use Date.toLocaleString method. The test written for this use case broke because of toLocaleString fell back to US localization instead of the provided one (it is working properly locally and in production).
I think the issue is that the node.js provided by this action is not the default one but one with less or no Intl support: https://nodejs.org/api/intl.html
Is there a parameter I can pass to obtain the defaultnode.js image?
Relevant part of our .github file:
test-source:
name: Test Sourceruns-on: ubuntu-lateststeps:
- uses: actions/checkout@v2
- name: Use Node.js 12.xuses: actions/setup-node@v1with:
node-version: 12.x