Fix mismatch errors for block names in tutorials. (#6496) #3286
This file contains 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: pxt-buildmain | |
on: | |
push: | |
branches: | |
- 'master' | |
- 'main' | |
create: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@main | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@main | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: npm install | |
run: | | |
sudo apt-get install xvfb | |
sudo npm install -g pxt | |
npm install | |
- name: Checkout pxt-arcade-sim | |
uses: actions/checkout@main | |
with: | |
repository: microsoft/pxt-arcade-sim | |
ref: v0.11.12 | |
token: ${{ secrets.GH_TOKEN }} | |
path: node_modules/pxt-arcade-sim | |
- name: pxt ci | |
run: | | |
pxt ci | |
env: | |
CROWDIN_KEY: ${{ secrets.CROWDIN_KEY }} | |
PXT_ACCESS_TOKEN: ${{ secrets.PXT_ACCESS_TOKEN }} | |
PXT_RELEASE_REPO: ${{ secrets.PXT_RELEASE_REPO }} | |
NPM_ACCESS_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }} | |
CHROME_BIN: chromium-browser | |
DISPLAY: :99.0 | |
CI: true |