actions-learning-pathway icon indicating copy to clipboard operation
actions-learning-pathway copied to clipboard

Add ESLint dependencies and configuration updates

Open DawidRyczko opened this issue 10 months ago • 2 comments

The pull request fixes the problem with failing test when following the steps here: https://resources.github.com/learn/pathways/automation/essentials/application-testing-with-github-actions/

We can't run the test command because missing configuration for Eslint: image

There is also a problem with no-unescaped-entities and failing linter: image

Not sure where I can raise the problem, but the step is also failing: https://resources.github.com/learn/pathways/automation/essentials/automating-deploying-workflows-with-github-actions/ The instruction should be updated because the actions/upload-pages-artifact@v1 and actions/deploy-pages@v1are deprecated. The actions should be updated to actions/upload-pages-artifact@v3 and actions/deploy-pages@v4

DawidRyczko avatar Mar 14 '25 19:03 DawidRyczko

I am new to this, how can I make these changes ?

Arnold-P-Murphy avatar Mar 26 '25 22:03 Arnold-P-Murphy

I am new to this, how can I make these changes ?

You can use my branch or clone the main branch run npm install and run lint, and you can follow the step in the console.

DawidRyczko avatar Mar 27 '25 07:03 DawidRyczko