How do I change files using github actions

I’m doing a project on a module for a game. I’m using npm to manage my package. Also I’ve created 2 scripts to minify the code and make docs. When I run it on my terminal it minify and generate the docs without any problem. 

I wanted to automatically minify and gen docs on push - so I decided to use github actions and add the required steps for the above actions

But the problem is that it doesn’t minify or generate as I intended.

Here’s the repo I’m working on: https://github.com/Seniru/LineGraph-TFM

So my question is ‘Can I change files using actions’ and if yes, how to do it and what I’m doing wrong in my repo

Thanks!

It looks like you’ve resolved this on your own?  I see in your repository that you’ve run this workflow successfully, and that it’s pushed changes up to your master branch.