@@ -19,7 +19,7 @@ If you want to pin a major or minor version you can use the `.x` wildcard:
1919- name: Install Arduino CLI
20202121 with:
22- version: ' 0.x'
22+ version: " 0.x"
2323` ` `
2424
2525To pin the exact version :
@@ -28,7 +28,7 @@ To pin the exact version:
2828- name: Install Arduino CLI
29293030 with:
31- version: ' 0.5.0'
31+ version: " 0.5.0"
3232` ` `
3333
3434# # Development
@@ -47,15 +47,9 @@ To run the tests:
4747
4848# # Release
4949
50- We check in the `node_modules` to provide runtime dependencies to the system
51- using the Action, so be careful not to `git add` all the development dependencies
52- you might have under your local `node_modules`. To release a new version of the
53- Action the workflow should be the following :
54-
55501. `npm install` to add all the dependencies, included development.
56- 1. `npm run test` to see everything works as expected.
57- 1. `npm build` to build the Action under the `./lib` folder.
58- 1. `rm -rf node_modules` to remove all the dependencies.
59- 1. `npm install --production` to add back **only** the runtime dependencies.
60- 1. `git add lib node_modules` to check in the code that matters.
61- 1. open a PR and request a review.
51+ 2. `npm run build` to build the Action under the `./lib` folder.
52+ 3. `npm run test` to see everything works as expected.
53+ 4. `npm run pack` to package for distribution
54+ 5. `git add src dist` to check in the code that matters.
55+ 6. open a PR and request a review.
0 commit comments