This repository was archived by the owner on Aug 13, 2025. It is now read-only.
Delete unneeded pages (#529) #2772
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: Build | |
| on: | |
| push: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: write | |
| contents: write | |
| strategy: | |
| matrix: | |
| node-version: [16.x] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Cache npm and makecode | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.npm | |
| ~/.pxt/mkc-cache | |
| key: ${{ runner.os }}-${{ hashFiles('pxt.json') }}-${{ hashFiles('mkc*json') }} | |
| restore-keys: | | |
| ${{ runner.os }}- | |
| - name: npm install makecode@1.3.4 | |
| run: | | |
| npm install -g makecode@1.3.4 | |
| - name: build js | |
| run: | | |
| makecode --java-script | |
| - name: build hardware N3 | |
| run: | | |
| makecode --hw N3 |