Install npm dependencies with:
npm install
First at all you need install globally vercel/ncc to generate a distribution file, for this run:
npm i -g @vercel/ncc
And the you can build with:
npm run build
Always you want to generate a new version you need commit your changes and then create a tag and push the changes. Something like this:
git tag -a -m "My first action release" <your numerico standard version>
git push --follow-tags
For use thiis action you need to adding as a job step like this:
on: [push]
jobs:
hello_world_job:
runs-on: ubuntu
name: Extract version from package.json
steps:
- name: Extract version
id: version
uses: lmoscheni/gha-extract-version@[version]
with:
packageManagement: npm