Repository navigation
fix: mf-6826 remove broken ipfs file service #34561
Workflow file for this run
This file contains hidden or 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
| name: Compile | |
| on: | |
| push: | |
| tags: ["v*"] | |
| branches: [master, develop, released, hotfix/*, release/*] | |
| pull_request: | |
| branches: [master, develop, released, hotfix/*, release/*] | |
| merge_group: | |
| types: [checks_requested] | |
| permissions: | |
| contents: write | |
| pull-requests: read | |
| packages: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| MASK_MIXPANEL: ${{ secrets.MASK_MIXPANEL }} | |
| PRIVY_APP_ID: ${{ secrets.PRIVY_APP_ID }} | |
| FIREFLY_X_CLIENT_ID: ${{ secrets.FIREFLY_X_CLIENT_ID }} | |
| FIREFLY_X_CLIENT_SECRET: ${{ secrets.FIREFLY_X_CLIENT_SECRET }} | |
| steps: | |
| - name: Get cache date | |
| id: get-date | |
| run: echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_STATE | |
| shell: bash | |
| - uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| filter: blob:none | |
| - uses: pnpm/action-setup@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: ".node-version" | |
| cache: 'pnpm' | |
| - name: Authenticate NPM | |
| uses: DimensionDev/github-token-action@latest | |
| with: | |
| registry: true | |
| - run: git config --global url."https://github.com/".insteadOf git@github.com | |
| - run: pnpm install | |
| - name: Build CI | |
| env: | |
| NODE_OPTIONS: --max-old-space-size=8192 | |
| run: pnpm exec gulp build-ci | |
| - name: Upload `MaskNetwork.chromium-beta.zip` | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: MaskNetwork.chromium-beta.zip | |
| path: masknetwork.chromium-beta.zip | |
| if-no-files-found: error | |
| - name: Upload `MaskNetwork.chromium-mv3.zip` | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: MaskNetwork.chromium-mv3.zip | |
| path: masknetwork.chromium-mv3.zip | |
| if-no-files-found: error | |
| - name: Upload `MaskNetwork.firefox-mv3.zip` | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: MaskNetwork.firefox-mv3.zip | |
| path: masknetwork.firefox-mv3.zip | |
| if-no-files-found: error | |
| - uses: "marvinpinto/action-automatic-releases@latest" | |
| if: startsWith(github.ref, 'refs/tags/v') | |
| with: | |
| repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
| prerelease: false | |
| files: | | |
| *.zip |