Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Replace CircleCI with GitHub Actions #759

Merged
merged 24 commits into from
Jul 14, 2023

Conversation

stephenmathieson
Copy link
Member

@stephenmathieson stephenmathieson commented Jul 7, 2023

Also test Node.js versions 16, 18 and 20.

…🐉🇬🇱🇸🇭🔣🧢🚀💖🧧🇬🇵🎹🔁🟦📆🦊👘🚋🌶️👓💈🥸⚕️5️⃣🇻🇮🇫🇯🗿☃️🧑‍⚕️🥈🎉🇹🇬🤼‍♂️✔️🇹🇹🗺️:rage1:🤺:trollface:🇧🇷🇱🇧👨‍🚀🇮🇹♒🌝🐲🛎️🍬🤞👙📶📕🇮🇱⚧️🤐#️⃣🈯🪂
…🏌️‍♀️👉👸🏕️👬📤🙇‍♀️🧇🛠️🏋️‍♀️📨🟫⏩😶‍🌫️🛶🐳🥵👠⌚🇵🇭📐🪤⚓🔝🏥🚦👩‍❤️‍💋‍👨👨‍🔧🚤✂️💡🙌🧗👩‍🦯🇮🇨👩‍👩‍👧‍👦🈴🧚‍♂️😡⛹️‍♀️🇪🇨🤦🧦🙆‍♀️🌴🪵🙇‍♂️🧆☮️🇮🇱🔡👰🇲🇷👼
…🗯️🈷️✊🥣🫑🐢😃🥟🇵🇳🥕🍊🚬👒🦁🇲🇳⚙️🇹🇨🏨🥷🖼️⏳🔔🤧🆚📪#️⃣⛽🇹🇱🆖💬⚕️🤛👨‍👨‍👧🔽🧤⬇️🤽‍♀️🐈‍⬛💵🛎️🥡🆖🍈🇹🇰😰🥧💩🪆🪚🦜🧦⌨️😐🌌🇷🇸
@stephenmathieson stephenmathieson requested a review from a team as a code owner July 7, 2023 18:30
@stephenmathieson stephenmathieson changed the title ci: Run PR tests via GitHub actions ci: Replace CircleCI with GitHub Actions Jul 7, 2023
.github/workflows/tests.yml Show resolved Hide resolved
.github/workflows/tests.yml Show resolved Hide resolved
.github/workflows/tests.yml Show resolved Hide resolved
with:
node-version: ${{ matrix.node }}
cache: 'npm'
- run: npx playwright install --with-deps
Copy link
Contributor

Choose a reason for hiding this comment

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

If this job is a long-pole, we might consider running it on a playwright docker image pinned to the same version as our playwright version instead of ubuntu-latest - they come with playwright deps + matching browser versions pre-installed

Copy link
Member Author

Choose a reason for hiding this comment

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

Good idea! This job does take significantly longer than similar jobs.

playwright vs puppeteer

Are you OK with leaving this as-is and using the Playwright Docker image in a followup PR? I can likely get to it within the next few days.

path: '**/node_modules'
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
# Make sure the working tree is clean
- run: git reset --hard HEAD
Copy link
Contributor

Choose a reason for hiding this comment

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

Was this here previously for some reason that was specific to circleci? This feels like something that should be a "fail the build if not true" step, not a "silently force it to be true" step

Copy link
Member Author

Choose a reason for hiding this comment

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

I do not know why this was here previously.

Copy link
Contributor

@dbjorge dbjorge left a comment

Choose a reason for hiding this comment

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

Thanks Stephen! Suggestions inline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants