1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/.github/workflows
Gastón Fournier 201c86838f
Test npm publish (#3554)
## About the changes

https://github.blog/changelog/2022-10-24-npm-v9-0-0-released/ introduced
a breaking change in the way they handle files inside package.json which
caused some issues with the way we pack and distribute Unleash:

> npm pack now follows a strict order of operations when applying ignore
rules. If a files array is present in the package.json, then rules in
.gitignore and .npmignore files from the root will be ignored.

What we discovered is that when having a nested .gitignore (the one we
have inside frontend), `npm publish` was taking that nested .gitignore
into account (despite the fact that we also have a package.json with
files inside the same folder). We tricked this by removing the `build`
folder from `frontend/.gitignore` and instead adding it into the root
`.gitignore` which is being ignored by `npm publish` following what's
stated in the release note above.

-----------------

Co-authored-by: Gard Rimestad <gard@getunleash.io>
2023-04-18 15:44:19 +02:00
..
add-to-project.yml meta: add external PRs to project board 2022-05-20 15:21:54 +02:00
auto-assign-pr-author.yaml chore: Auto assign PR (#3531) 2023-04-17 10:34:23 +01:00
build_coverage.yaml fix: gh actions that run on main (#3550) 2023-04-18 08:55:55 +00:00
build_doc_prs.yaml docs: test broken links in website (#1912) 2022-09-07 13:31:38 +00:00
build_frontend_prs.yml chore: update to node 18 (#3527) 2023-04-18 10:35:32 +02:00
build_prs_jest_report.yaml chore: update to node 18 (#3527) 2023-04-18 10:35:32 +02:00
build_prs.yaml chore: update to node 18 (#3527) 2023-04-18 10:35:32 +02:00
build.yaml chore: update to node 18 (#3527) 2023-04-18 10:35:32 +02:00
check_links.yaml chore(deps): update lycheeverse/lychee-action action to v1.6.1 (#3283) 2023-03-09 17:49:57 +00:00
codeql-analysis.yml Create codeql-analysis.yml 2022-05-23 12:22:31 +02:00
continuous-publish-new-version.yaml chore: update to node 18 (#3527) 2023-04-18 10:35:32 +02:00
docker_publish_main.yaml chore: update to node 18 (#3527) 2023-04-18 10:35:32 +02:00
docker_publish_tags.yaml chore: update to node 18 (#3527) 2023-04-18 10:35:32 +02:00
e2e.frontend.yaml fix: remove e2e tests (#3515) 2023-04-13 16:04:06 +03:00
flag-no-response.yaml feat: add no response action config 2022-04-20 08:30:13 +02:00
generate-docs.yaml docs: generate docs daily (#3067) 2023-02-08 10:30:00 +00:00
gradual-strict-null-checks.yml chore: update to node 18 (#3527) 2023-04-18 10:35:32 +02:00
publish-new-version.yaml chore: update to node 18 (#3527) 2023-04-18 10:35:32 +02:00
release_changelog.yml chore(deps): update metcalfc/changelog-generator action to v4 (#2294) 2022-11-09 23:01:01 +01:00
release.yaml Test npm publish (#3554) 2023-04-18 15:44:19 +02:00
reset_heroku.yml chore(deps): update akhileshns/heroku-deploy action to v3.12.13 (#3424) 2023-03-30 01:13:21 +00:00
update_contributors.yaml fix: gh actions that run on main (#3550) 2023-04-18 08:55:55 +00:00