-
Notifications
You must be signed in to change notification settings - Fork 68
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
Conversation
…🐉🇬🇱🇸🇭🔣🧢🚀💖🧧🇬🇵🎹🔁🟦📆🦊👘🚋🌶️👓💈🥸⚕️5️⃣🇻🇮🇫🇯🗿☃️🧑⚕️🥈🎉🇹🇬🤼♂️✔️🇹🇹🗺️🤺🇧🇷🇱🇧👨🚀🇮🇹♒🌝🐲🛎️🍬🤞👙📶📕🇮🇱⚧️🤐#️⃣🈯🪂
…🏌️♀️👉👸🏕️👬📤🙇♀️🧇🛠️🏋️♀️📨🟫⏩😶🌫️🛶🐳🥵👠⌚🇵🇭📐🪤⚓🔝🏥🚦👩❤️💋👨👨🔧🚤✂️💡🙌🧗👩🦯🇮🇨👩👩👧👦🈴🧚♂️😡⛹️♀️🇪🇨🤦🧦🙆♀️🌴🪵🙇♂️🧆☮️🇮🇱🔡👰🇲🇷👼
…🗯️🈷️✊🥣🫑🐢😃🥟🇵🇳🥕🍊🚬👒🦁🇲🇳⚙️🇹🇨🏨🥷🖼️⏳🔔🤧🆚📪#️⃣⛽🇹🇱🆖💬⚕️🤛👨👨👧🔽🧤⬇️🤽♀️🐈⬛💵🛎️🥡🆖🍈🇹🇰😰🥧💩🪆🪚🦜🧦⌨️😐🌌🇷🇸
with: | ||
node-version: ${{ matrix.node }} | ||
cache: 'npm' | ||
- run: npx playwright install --with-deps |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
path: '**/node_modules' | ||
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} | ||
# Make sure the working tree is clean | ||
- run: git reset --hard HEAD |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this 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
Also test Node.js versions 16, 18 and 20.