pxt-ev3/.github/workflows/pxt-buildpr.yml
Richard Knoll bd0cf05693
Adding gh-actions workflows (#995)
* Adding gh-actions workflows

* Removing travis

* Handle tags also
2021-01-27 14:57:14 -08:00

31 lines
620 B
YAML

name: pxt-buildpr
on: [pull_request]
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