Attempt to fix mac tests #671
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
| # Build & lint checks workflow | |
| name: Build & Lint Checks | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| build_tip_of_tree_v12: | |
| name: Build test (against tip-of-tree core develop) | |
| runs-on: ubuntu-latest | |
| if: false | |
| steps: | |
| - name: Checkout experimentation plugin | |
| uses: actions/checkout@v4 | |
| with: | |
| path: main | |
| - name: Checkout core Blockly | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: 'google/blockly' | |
| ref: 'develop' | |
| path: core-blockly | |
| - name: Use Node.js 20.x | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| - name: NPM install | |
| run: | | |
| cd main | |
| npm install | |
| cd .. | |
| cd core-blockly | |
| npm install | |
| cd .. | |
| - name: Link latest Blockly develop | |
| run: | | |
| cd core-blockly | |
| npm run package | |
| cd dist | |
| npm link | |
| cd ../../main | |
| npm link blockly | |
| cd .. | |
| - name: Verify build | |
| run: | | |
| cd main | |
| npm run build | |
| build: | |
| name: Build test (against pinned v12) | |
| if: false | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout experimentation plugin | |
| uses: actions/checkout@v4 | |
| - name: Use Node.js 20.x | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| - name: NPM install | |
| run: npm install | |
| - name: Verify build | |
| run: npm run build | |
| lint: | |
| name: Eslint check | |
| timeout-minutes: 5 | |
| runs-on: ubuntu-latest | |
| if: false | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js 20.x | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| - name: NPM install | |
| run: npm install | |
| - name: Eslint check format | |
| run: npm run lint | |
| format: | |
| name: Prettier check | |
| timeout-minutes: 5 | |
| runs-on: ubuntu-latest | |
| if: false | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js 20.x | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| - name: NPM install | |
| run: npm install | |
| - name: Prettier check format | |
| run: npm run format:check |