Turborepo Nightly checks #98
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: Turborepo Nightly checks | |
| on: | |
| schedule: | |
| - cron: "0 21 * * *" # daily at 9:00 PM (UTC) | |
| workflow_dispatch: | |
| jobs: | |
| audit: | |
| name: pnpm audit | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
| - uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0 | |
| - name: Install Nodejs | |
| uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 | |
| with: | |
| node-version: "24" | |
| - name: Run audit | |
| run: pnpm audit --prod --audit-level high | |
| sync: | |
| name: ts-sdk sync with upstream submodules | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
| with: | |
| fetch-depth: 2 | |
| submodules: true | |
| - uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0 | |
| - name: Install Nodejs | |
| uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 | |
| with: | |
| node-version: "24" | |
| cache: "pnpm" | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Update submodules to latest develop | |
| run: pnpm external:update | |
| - name: Node Sync | |
| run: | | |
| pnpm codegen | |
| if [ -z "$(git status --porcelain --ignore-submodules=all)" ]; then | |
| echo "No sync needed" | |
| else | |
| echo "Upstream drift detected. Bump submodules and run 'pnpm codegen' in the root." | |
| git status --ignore-submodules=all | |
| git diff --ignore-submodules=all | |
| exit 1 | |
| fi | |
| e2e: | |
| uses: ./.github/workflows/_e2e.yml | |
| with: | |
| isNightly: true | |
| isRpc: true | |
| isExplorer: true | |
| isAppsBackend: true | |
| isTypescriptSDK: true | |
| isWallet: true | |
| isGraphQlTransport: true | |
| isWalletDashboard: true | |
| isEvmBridge: true | |
| isIscSDK: true | |
| isKiosk: true | |
| isNamesDapp: true | |
| isNamesDisplay: true | |
| isNamesSDK: true | |
| secrets: | |
| EVM_BRIDGE_PREVIEW_DEFAULT_NETWORK: ${{ secrets.EVM_BRIDGE_PREVIEW_DEFAULT_NETWORK }} | |
| EVM_BRIDGE_CONFIG_TESTS: ${{ secrets.EVM_BRIDGE_CONFIG_TESTS }} | |
| check-sri-integrity-webassets: | |
| uses: ./.github/workflows/check_sri.yml |