-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: work around CVE-2022-24765 changes and update to esm release bi…
…nary BREAKING CHANGE: adjust for https://github.blog/2022-04-12-git-security-vulnerability-announced/#cve-2022-24765 closes #10
- Loading branch information
Showing
9 changed files
with
3,907 additions
and
2,083 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
FROM node:16-alpine | ||
FROM node:18-alpine | ||
|
||
RUN apk --update --no-cache add git git-lfs jq openssh | ||
RUN apk add --update --no-cache git git-lfs jq openssh | ||
|
||
COPY package.json / | ||
|
||
RUN npm i -g npm@latest | ||
RUN npm i -g $( jq -j '.dependencies|to_entries|map("\(.key)@\(.value) ")|.[]' /package.json ) | ||
|
||
COPY release.config.js /usr/local/lib/ | ||
COPY release.config.js /usr/local/lib/release.config.js | ||
|
||
RUN apk add --update make \ | ||
&& rm -rf /var/cache/apk/* \ | ||
&& rm -rf /package.json | ||
|
||
ENTRYPOINT ["npx"] | ||
COPY entrypoint.sh /entrypoint.sh | ||
|
||
CMD ["semantic-release", "--extends", "/usr/local/lib/release.config.js"] | ||
ENTRYPOINT ["/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh -l | ||
|
||
git config --global --add safe.directory "$GITHUB_WORKSPACE" | ||
npx semantic-release --extends /usr/local/lib/release.config.js |
Oops, something went wrong.