-
Notifications
You must be signed in to change notification settings - Fork 3
Note: use of GitHub Actions and Packages
Ross Tang edited this page Nov 28, 2020
·
2 revisions
- we use ubuntu@latest. nodejs add-on will be build based on ubuntu, and nodejs 12 (i.e. abi=72).
npm rebuild
may require. - the runner is a non-root user. The inner container may require root to run commands.
-
Setup Node
action can install nodejs at a particular version. Thenode -v
returns correct version. However, npm add-on does not seem to recognize it; andnpm rebuild
is run based nodejs @ latest. -
Cache
action will add a cleanup step automatically. However, if some data volume is created with root, theCache
clean up may fail to remove it.
- npm scoped packages requires the namespace to be the account name. Therefore, we cannot publish @fabric-es scope to this repo directly. Instead, we publish to GitHub account at @fabric-es/*
- it require .npmrc , so that we do not require
npm login
Need carefully observe. From time to time, the image version may change. https://github.com/actions/node-versions/blob/main/versions-manifest.json