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

Build and run tests on node v16 #150

Merged
merged 2 commits into from
Jan 12, 2022
Merged

Build and run tests on node v16 #150

merged 2 commits into from
Jan 12, 2022

Conversation

kr8n3r
Copy link
Contributor

@kr8n3r kr8n3r commented Jan 12, 2022

What

Build and run tests on node 16, which is now the active LTS version.

As for the production build, it looks like it's already happening on active LTS

Node docker image with LTS tag

How to test

  • clone branch
  • update your version of node to latest LTS (install from node.js or use nvm)
  • install updated dependencies (npm install)
  • build the site (npm run build)
  • cd into out folder and serve the page (npx serve)
  • check page on localhost:5000 for any issues

There are expected warnings in CSS compilation coming from govuk-frontend

npm install will output 6 high severity vulnerabilities. Currently no fix available for that.

@kr8n3r kr8n3r merged commit e44fb47 into main Jan 12, 2022
@kr8n3r kr8n3r deleted the run-on-node16 branch January 12, 2022 15:25
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.

2 participants