Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Update GitHub actions to match module template#158

Merged
Gudahtt merged 2 commits intomainfrom
update-github-actions
Nov 9, 2022
Merged

Update GitHub actions to match module template#158
Gudahtt merged 2 commits intomainfrom
update-github-actions

Conversation

@Gudahtt
Copy link
Copy Markdown
Member

@Gudahtt Gudahtt commented Nov 8, 2022

The GitHub actions have been updated to match the module template more closely. There are still many differences because this library is not yet using TypeScript, so it doesn't have any build step. It also doesn't yet have API documentation, so steps relating to that have been removed.

@Gudahtt Gudahtt force-pushed the migrate-to-yarn-v3 branch from 7454082 to 492e417 Compare November 8, 2022 23:54
@Gudahtt Gudahtt force-pushed the update-github-actions branch 5 times, most recently from 5f8d870 to 23dc493 Compare November 9, 2022 00:11
YARN_VERSION: ${{ steps.yarn-version.outputs.YARN_VERSION }}
strategy:
matrix:
node-version: [14.x, 16.x, 18.12.1, 19.x]
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Node.js v18 has been temporarily pinned to v18.12.1 because there is a range of versions (including v18.12.0, which is the default choice of actions/setup-node for v18.x) that blows up during the unit tests due to an SSL error. This was fixed in v18.12.1.

We can change this back to v18.x once actions/setup-node updates and their caches are populated with some version >=v18.12.1

Base automatically changed from migrate-to-yarn-v3 to main November 9, 2022 00:14
The GitHub actions have been updated to match the module template more
closely. There are still many differences because this library is not
yet using TypeScript, so it doesn't have any build step. It also
doesn't yet have API documentation, so steps relating to that have been
removed.

Release instructions have been added to the README as well.
@Gudahtt Gudahtt force-pushed the update-github-actions branch from 23dc493 to 8872c32 Compare November 9, 2022 00:14
@Gudahtt Gudahtt marked this pull request as ready for review November 9, 2022 00:14
@Gudahtt Gudahtt requested a review from a team as a code owner November 9, 2022 00:14
@Gudahtt
Copy link
Copy Markdown
Member Author

Gudahtt commented Nov 9, 2022

See here for the module template workflows: https://github.com/MetaMask/metamask-module-template/tree/main/.github/workflows

Copy link
Copy Markdown
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@Gudahtt Gudahtt merged commit 4cd3036 into main Nov 9, 2022
@Gudahtt Gudahtt deleted the update-github-actions branch November 9, 2022 15:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants