Skip to content

Add GH Actions workflows. #2

Add GH Actions workflows.

Add GH Actions workflows. #2

Workflow file for this run

name: Build MakeCode Project
on:
push:
branches: '*'
pull_request:
branches: '*'
jobs:
build-makecode:
name: Build MakeCode Project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Check failure on line 16 in .github/workflows/makecode.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/makecode.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: |
npm install -g pxt
pxt target microbit
- name: Build
run: |
pxt install
pxt build --cloud
env:
CI: true