CI: Add node16

Open
#239 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
github-actions, javascript, node.js

Research direction

Start by checking the current serverless library version and the GitHub Actions configuration. Reproduce the Node16 output-size comparison using the .test-zips/complex and .test-zips/simple paths, then verify whether upgrading serverless fixes the oversized archives. Done means the upgrade is evaluated and Node16 is enabled in GitHub Actions.

Written by the indexing model from the issue text.

Description

infrastructure

Node16 with serverless at our current (old) version produces way, way too large of output files. See, e.g.

 34M	.test-zips/complex/yarn/baseline/individually.zip
 34M	.test-zips/complex/yarn/baseline/serverless-jetpack-complex.zip
1.8M	.test-zips/complex/yarn/jetpack/trace/individually.zip
1.8M	.test-zips/complex/yarn/jetpack/trace/serverless-jetpack-complex.zip
2.2M	.test-zips/complex/yarn/jetpack/deps/individually.zip
2.2M	.test-zips/complex/yarn/jetpack/deps/serverless-jetpack-complex.zip
 34M	.test-zips/complex/npm/baseline/individually.zip
 34M	.test-zips/complex/npm/baseline/serverless-jetpack-complex.zip
1.8M	.test-zips/complex/npm/jetpack/trace/individually.zip
1.8M	.test-zips/complex/npm/jetpack/trace/serverless-jetpack-complex.zip
2.2M	.test-zips/complex/npm/jetpack/deps/individually.zip
2.2M	.test-zips/complex/npm/jetpack/deps/serverless-jetpack-complex.zip
 42M	.test-zips/simple/yarn/baseline/serverless-jetpack-simple.zip
520K	.test-zips/simple/yarn/jetpack/trace/serverless-jetpack-simple.zip
872K	.test-zips/simple/yarn/jetpack/deps/serverless-jetpack-simple.zip
 43M	.test-zips/simple/npm/baseline/serverless-jetpack-simple.zip
568K	.test-zips/simple/npm/jetpack/trace/serverless-jetpack-simple.zip
856K	.test-zips/simple/npm/jetpack/deps/serverless-jetpack-simple.zip

Task

  • See if an upgrade to serverless lib fixes this
  • Enable node16 in github actions config.
Dominant language
JavaScript
Stars
281
Forks
14
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from FormidableLabs/serverless-jetpack

All issues in FormidableLabs/serverless-jetpack

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.