actions / upload-artifact

MIT License
3.26k stars 739 forks source link

Create devcontainer for codespaces + update all dev dependencies #375

Closed konradpabjan closed 1 year ago

konradpabjan commented 1 year ago

Right now if you create a codespace is creates one with a really old node version and npm and that causes package.json to drop down to version 1 and it messes up a bunch of things.

I'm adding a basic devcontainer so that we have a basic node codespace that gets created. This makes it easier to to development and for small changes such as package updates.

In order to make node16 work in CI, we had to update all dev dependencies as well. This fixed something with NPM due to really old deprecated packages 🤷‍♂️

We also moved from zeit/ncc to vercel/ncc which is supported and our other first party actions use this. Because of this we had to rebuild index.js substantially