DEV Community

[Comment from a deleted post]
Collapse
 
michaelcurrin profile image
Michael Currin

Thanks for sharing.

In latest Node, you can use await at the top level without making a function to wrap it.

Collapse
 
daviddalbusco profile image
David Dal Busco • Edited

Yes indeed. In my case I did not use it. In the Actions you can specify the LTS version as following:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
  with:
    node-version: '14.x'
Enter fullscreen mode Exit fullscreen mode
Collapse
 
michaelcurrin profile image
Michael Currin

Oh yes good point