DEV Community

loading...

Discussion on: Tweet From GitHub Actions

Collapse
michaelcurrin profile image
Michael

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 Author • 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

Oh yes good point