mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: refactor utils (#9053)
This PR - renames the `utils` folder to `tools` (follows internal practice), - migrates the contents of `scripts` into `tools` and removes scripts.
This commit is contained in:
2
.github/workflows/pre-release.yml
vendored
2
.github/workflows/pre-release.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
||||
with:
|
||||
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
- name: Pin dependencies
|
||||
run: utils/pin_dependencies.py
|
||||
run: tools/pin_dependencies.py
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
- name: Build
|
||||
|
||||
6
.github/workflows/tot-ci.yml
vendored
6
.github/workflows/tot-ci.yml
vendored
@@ -39,7 +39,7 @@ jobs:
|
||||
PUPPETEER_PRODUCT=firefox npm install
|
||||
npm install
|
||||
ls .local-chromium .local-firefox
|
||||
REV=$(node utils/check_availability.js -p linux)
|
||||
REV=$(node tools/check_availability.js -p linux)
|
||||
echo "Installing revision $REV"
|
||||
cat src/revisions.ts | sed "s/[0-9]\{6,\}/$REV/" > src/revisions.ts.replaced
|
||||
mv src/revisions.ts.replaced src/revisions.ts
|
||||
@@ -77,7 +77,7 @@ jobs:
|
||||
PUPPETEER_PRODUCT=firefox npm install
|
||||
npm install
|
||||
ls .local-chromium .local-firefox
|
||||
REV=$(node utils/check_availability.js -p linux)
|
||||
REV=$(node tools/check_availability.js -p linux)
|
||||
echo "Installing revision $REV"
|
||||
cat src/revisions.ts | sed "s/[0-9]\{6,\}/$REV/" > src/revisions.ts.replaced
|
||||
mv src/revisions.ts.replaced src/revisions.ts
|
||||
@@ -115,7 +115,7 @@ jobs:
|
||||
PUPPETEER_PRODUCT=firefox npm install
|
||||
npm install
|
||||
ls .local-chromium .local-firefox
|
||||
REV=$(node utils/check_availability.js -p linux)
|
||||
REV=$(node tools/check_availability.js -p linux)
|
||||
echo "Installing revision $REV"
|
||||
cat src/revisions.ts | sed "s/[0-9]\{6,\}/$REV/" > src/revisions.ts.replaced
|
||||
mv src/revisions.ts.replaced src/revisions.ts
|
||||
|
||||
Reference in New Issue
Block a user