pxt-calliope/.github/workflows/pxt-buildpr.yml

31 lines
620 B
YAML
Raw Normal View History

2021-11-25 17:27:39 +01:00
name: pxt-buildpr
2020-09-08 11:13:11 +02:00
2021-11-25 17:27:39 +01:00
on: [pull_request]
2020-09-08 11:13:11 +02:00
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install
run: |
sudo apt-get install xvfb
sudo npm install -g pxt
npm install
- name: pxt ci
run: |
pxt ci
env:
CHROME_BIN: chromium-browser
DISPLAY: :99.0
CI: true