Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update Node versions in GitHub CI #3238

Merged
merged 3 commits into from
Apr 30, 2021
Merged

Conversation

drwpow
Copy link
Collaborator

@drwpow drwpow commented Apr 30, 2021

Changes

  • Updates Node 15 -> 16 (again)
  • Updates the bundled test from 12 -> 14 (bundled test went from ~9 min down to ~7 min)
  • Removes the dev server test (speeding up the faster tests from ~5 min down to ~3 min)

Testing

Tests should pass

Docs

No docs; just a CI change

@drwpow drwpow requested a review from a team as a code owner April 30, 2021 01:54
@vercel
Copy link

vercel bot commented Apr 30, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/pikapkg/snowpack/AkRAV5f8x7hCa5SYxN99pNwj4Jwe
✅ Preview: https://snowpack-git-chore-update-test-runner-pikapkg.vercel.app

"svelte-preprocess": "^4.6.0"
},
"devDependencies": {
"node-sass": "^5.0.0",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This devDep was single-handedly blocking Node 16 builds (issue). But it’s a devDep, so it’s fairly safe to remove.

uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 14.x
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was updated to just speed up the bundler test 🤷🏻

@@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [12.x, 14.x, 15.x]
node-version: [12.x, 14.x, 16.x]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was updated so we test the actual LTS version, 16, rather than 15.

@@ -29,8 +29,3 @@ jobs:
run: yarn test
env:
CI: true
- name: dev test
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also removes the Snowpack dev server tests from every CI run. It was flaky, and slowed down the test suite. But this is now becoming outdated because as of the v3.1 rewrite, all builds are now piped through the dev server internally, so this test either is outdated, or will be soon.

@drwpow drwpow merged commit c9d2835 into main Apr 30, 2021
@drwpow drwpow deleted the chore-update-test-runner branch April 30, 2021 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant