-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update dependencies, remove unused ones
- Loading branch information
Showing
744 changed files
with
19,412 additions
and
22,401 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,38 +8,38 @@ jobs: | |
strategy: | ||
matrix: | ||
platform: | ||
- [linux, ubuntu-latest] | ||
- [darwin, macos-latest] | ||
- [linux, ubuntu-latest] | ||
- [darwin, macos-latest] | ||
|
||
runs-on: ${{matrix.platform[1]}} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14.x | ||
- name: Install Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 14.x | ||
|
||
- name: 'Build Node with corepack master' | ||
run: | | ||
yarn install --immutable | ||
yarn pack | ||
git clone -b mael/pmm --depth=1 https://github.com/arcanis/node.git node && cd node | ||
git config user.name 'John Doe' | ||
git config user.email '[email protected]' | ||
rm -rf deps/corepack && tar xvf ../package.tgz && mv package deps/corepack | ||
git add . | ||
if ! git diff-index --quiet HEAD; then | ||
git commit -m 'Updates corepack' | ||
git show --name-status | ||
fi | ||
./configure | ||
DISTTYPE=nightly DATESTRING=YYYY-MM-DD COMMIT=XXXX make binary -j8 | ||
mv node-v15.0.0-nightlyYYYY-MM-DDXXXX-*.tar.gz node-corepack-${{matrix.platform[0]}}-x64.tar.gz | ||
- name: "Build Node with corepack master" | ||
run: | | ||
corepack yarn install --immutable | ||
corepack yarn pack | ||
git clone -b mael/pmm --depth=1 https://github.com/arcanis/node.git node && cd node | ||
git config user.name 'John Doe' | ||
git config user.email '[email protected]' | ||
rm -rf deps/corepack && tar xvf ../package.tgz && mv package deps/corepack | ||
git add . | ||
if ! git diff-index --quiet HEAD; then | ||
git commit -m 'Updates corepack' | ||
git show --name-status | ||
fi | ||
./configure | ||
DISTTYPE=nightly DATESTRING=YYYY-MM-DD COMMIT=XXXX make binary -j8 | ||
mv node-v15.0.0-nightlyYYYY-MM-DDXXXX-*.tar.gz node-corepack-${{matrix.platform[0]}}-x64.tar.gz | ||
- name: Upload build artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: node-corepack-${{matrix.platform[0]}}-x64 | ||
path: node/node-corepack-${{matrix.platform[0]}}-x64.tar.gz | ||
- name: Upload build artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: node-corepack-${{matrix.platform[0]}}-x64 | ||
path: node/node-corepack-${{matrix.platform[0]}}-x64.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,52 +3,52 @@ name: Version Sync | |
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14.x | ||
|
||
- name: 'Update the package manager versions' | ||
run: | | ||
LATEST_NPM=$(curl https://registry.npmjs.org/npm | jq '.["dist-tags"].latest') | ||
LATEST_PNPM=$(curl https://registry.npmjs.org/pnpm | jq '.["dist-tags"].latest') | ||
LATEST_YARN=$(curl https://registry.npmjs.org/yarn | jq '.["dist-tags"].latest') | ||
LATEST_BERRY=$(curl https://repo.yarnpkg.com/tags | jq '.latest.stable') | ||
jq < config.json > config.json.new '. * '"{ | ||
definitions: { | ||
npm: { | ||
default: $LATEST_NPM, | ||
}, | ||
pnpm: { | ||
default: $LATEST_PNPM, | ||
}, | ||
yarn: { | ||
default: $LATEST_YARN, | ||
transparent: { | ||
default: $LATEST_BERRY, | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 14.x | ||
|
||
- name: "Update the package manager versions" | ||
run: | | ||
LATEST_NPM=$(curl https://registry.npmjs.org/npm | jq '.["dist-tags"].latest') | ||
LATEST_PNPM=$(curl https://registry.npmjs.org/pnpm | jq '.["dist-tags"].latest') | ||
LATEST_YARN=$(curl https://registry.npmjs.org/yarn | jq '.["dist-tags"].latest') | ||
LATEST_BERRY=$(curl https://repo.yarnpkg.com/tags | jq '.latest.stable') | ||
jq < config.json > config.json.new '. * '"{ | ||
definitions: { | ||
npm: { | ||
default: $LATEST_NPM, | ||
}, | ||
pnpm: { | ||
default: $LATEST_PNPM, | ||
}, | ||
yarn: { | ||
default: $LATEST_YARN, | ||
transparent: { | ||
default: $LATEST_BERRY, | ||
}, | ||
}, | ||
}, | ||
}, | ||
}" | ||
}" | ||
rm config.json | ||
mv config.json.new config.json | ||
rm config.json | ||
mv config.json.new config.json | ||
if [[ ! -z "$(git status --porcelain)" ]]; then | ||
git config user.email '[email protected]' | ||
git config user.name 'Node.js GitHub Bot' | ||
if [[ ! -z "$(git status --porcelain)" ]]; then | ||
git config user.email '[email protected]' | ||
git config user.name 'Node.js GitHub Bot' | ||
git add config.json | ||
git commit -m 'chore: update package manager versions' | ||
git push | ||
fi | ||
git add config.json | ||
git commit -m 'chore: update package manager versions' | ||
git push | ||
fi |
Oops, something went wrong.