Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 0 additions & 45 deletions .github/workflows/create-update-issues.yml

This file was deleted.

1 change: 0 additions & 1 deletion .github/workflows/lint-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
- lint:misc:check
- constraints
- lint:dependencies
- lint:teams
- readme-content:check
steps:
- name: Checkout and setup environment
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,6 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

create-update-issues:
name: Create update issues
needs: [is-release, publish-release]
if: needs.is-release.outputs.IS_RELEASE == 'true'
uses: ./.github/workflows/create-update-issues.yml
permissions:
contents: read
id-token: write

all-jobs-complete:
name: All jobs complete
runs-on: ubuntu-latest
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/publish-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,14 @@ jobs:
docs-url: 'https://github.com/MetaMask/core/blob/main/docs/processes/preview-builds.md'
secrets:
PUBLISH_PREVIEW_NPM_TOKEN: ${{ secrets.PUBLISH_PREVIEW_NPM_TOKEN }}
BUILD_ENV: |
{
"LOG_LEVEL": "${{ secrets.LOG_LEVEL }}",
"DEFAULT_ADDRESS_TYPE": "${{ secrets.DEFAULT_ADDRESS_TYPE }}",
"ESPLORA_BITCOIN": "${{ secrets.ESPLORA_BITCOIN }}",
"ESPLORA_TESTNET": "${{ secrets.ESPLORA_TESTNET }}",
"ESPLORA_TESTNET4": "${{ secrets.ESPLORA_TESTNET4 }}",
"ESPLORA_SIGNET": "${{ secrets.ESPLORA_SIGNET }}",
"ESPLORA_REGTEST": "${{ secrets.ESPLORA_REGTEST }}",
"PRICE_API_URL": "${{ secrets.PRICE_API_URL }}"
}
26 changes: 26 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,22 @@ on:
required: false
SLACK_WEBHOOK_URL:
required: true
LOG_LEVEL:
required: false
DEFAULT_ADDRESS_TYPE:
required: false
ESPLORA_BITCOIN:
required: false
ESPLORA_TESTNET:
required: false
ESPLORA_TESTNET4:
required: false
ESPLORA_SIGNET:
required: false
ESPLORA_REGTEST:
required: false
PRICE_API_URL:
required: false

permissions:
contents: read
Expand All @@ -17,6 +33,7 @@ concurrency:

jobs:
publish-release:
environment: default-branch
permissions:
contents: write
runs-on: ubuntu-latest
Expand All @@ -29,6 +46,15 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: yarn build
env:
LOG_LEVEL: ${{ secrets.LOG_LEVEL }}
DEFAULT_ADDRESS_TYPE: ${{ secrets.DEFAULT_ADDRESS_TYPE }}
ESPLORA_BITCOIN: ${{ secrets.ESPLORA_BITCOIN }}
ESPLORA_TESTNET: ${{ secrets.ESPLORA_TESTNET }}
ESPLORA_TESTNET4: ${{ secrets.ESPLORA_TESTNET4 }}
ESPLORA_SIGNET: ${{ secrets.ESPLORA_SIGNET }}
ESPLORA_REGTEST: ${{ secrets.ESPLORA_REGTEST }}
PRICE_API_URL: ${{ secrets.PRICE_API_URL }}
- name: Upload build artifacts
uses: actions/upload-artifact@v6
with:
Expand Down
1 change: 0 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ The monorepo uses a hierarchical configuration approach for different tools. For
### Contributing teams and codeowners

- `CODEOWNERS` defines which GitHub teams own which packages in the monorepo.
- `teams.json` instructs the `create-update-issues` GitHub workflow which labels to assign issues that are created when there are new major version releases of packages.

### Yarn

Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,13 @@
"changelog:validate": "yarn workspaces foreach --all --no-private --parallel --interlaced --verbose run changelog:validate",
"create-release-branch": "create-release-branch --formatter oxfmt",
"create-package": "tsx scripts/create-package",
"lint": "yarn lint:eslint && echo && yarn lint:misc --check && yarn constraints && yarn lint:dependencies && yarn lint:teams && yarn readme-content:check",
"lint": "yarn lint:eslint && echo && yarn lint:misc --check && yarn constraints && yarn lint:dependencies && yarn readme-content:check",
"lint:dependencies": "depcheck && yarn dedupe --check",
"lint:dependencies:fix": "depcheck && yarn dedupe",
"lint:eslint": "yarn build:only-clean && NODE_OPTIONS='--max-old-space-size=6144' yarn eslint",
"lint:fix": "yarn lint:eslint --fix --prune-suppressions && echo && yarn lint:misc --write && yarn constraints --fix && yarn lint:dependencies:fix && yarn readme-content:update",
"lint:misc": "oxfmt --ignore-path .gitignore",
"lint:misc:check": "yarn lint:misc --check",
"lint:teams": "tsx scripts/lint-teams-json.ts",
"prepack": "./scripts/prepack.sh",
"prepare-preview-builds": "./scripts/prepare-preview-builds.sh",
"readme-content:check": "tsx scripts/update-readme-content.ts --check",
Expand Down
Loading
Loading