Skip to content

Commit a88e455

Browse files
committed
Change the other CircleCI references
1 parent 5006cd5 commit a88e455

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ When working on a new feature and code changes, it's important that things work
9191
- We have [husky](https://www.npmjs.com/package/husky) installed to run automated checks when committing and pushing.
9292
- Run git commands with `--no-verify` to skip this step. This is useful for submitting broken PRs for feedback.
9393
- Continuous integration for pull requests
94-
- We use CircleCI to run our tests for every PR that is submitted. This gives reviewers a great way to know if things are still working as expected.
94+
- We use GitHub Actions to run our tests for every PR that is submitted. This gives reviewers a great way to know if things are still working as expected.
9595

9696
### Updating snapshots
9797

bin/l10n-sync.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function logAndPipeExec(...commands /*: string[][] */) /*: string */ {
8989
/**
9090
* Pause with a message and wait for the enter as a confirmation.
9191
* The prompt will not be displayed if the `-y` argument is given to the script.
92-
* This is mainly used by the CircleCI automation.
92+
* This is mainly used by the GitHub Actions automation.
9393
*/
9494
async function pauseWithMessageIfNecessary(
9595
message /*: string */ = ''

bin/pre-install.js

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,18 @@ function checkYarn(agents /*: AgentsVersion */) {
9898
}
9999

100100
function parseExpectedNodeVersion() {
101-
// Let's fetch our minimal version from circleci's file
101+
// Let's fetch our minimal version from GitHub Actions composite action file
102102
const fs = require('fs');
103-
const circleConfig = fs.readFileSync('.circleci/config.yml', {
104-
encoding: 'utf8',
105-
});
106-
const expectedNodeVersion = /image: cimg\/node:([\d.]+)/.exec(circleConfig);
103+
const actionConfig = fs.readFileSync(
104+
'.github/actions/setup-node-and-install/action.yml',
105+
{
106+
encoding: 'utf8',
107+
}
108+
);
109+
const expectedNodeVersion = /node-version:\s*'([\d.]+)'/.exec(actionConfig);
107110
if (!expectedNodeVersion) {
108111
throw new Error(
109-
`Couldn't extract the node version from .circleci/config.yml.`
112+
`Couldn't extract the node version from .github/actions/setup-node-and-install/action.yml.`
110113
);
111114
}
112115
return expectedNodeVersion[1];

res/contribute.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"repository": {
55
"url": "https://github.com/firefox-devtools/profiler",
66
"license": "MPL2",
7-
"tests": "https://circleci.com/gh/firefox-devtools/profiler"
7+
"tests": "https://github.com/firefox-devtools/profiler/actions"
88
},
99
"participate": {
1010
"home": "https://github.com/firefox-devtools/profiler/blob/main/CONTRIBUTING.md",

0 commit comments

Comments
 (0)