enable github actions
This commit is contained in:
parent
37a531880b
commit
cdecc711d4
35
.github/workflows/pxt-buildtarget.yml
vendored
Normal file
35
.github/workflows/pxt-buildtarget.yml
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
name: pxt-buildtarget
|
||||
|
||||
on: [push]
|
||||
|
||||
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:
|
||||
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
|
@ -1,4 +1,4 @@
|
||||
# Calliope target for Microsoft MakeCode [![Build Status](https://travis-ci.org/microsoft/pxt-calliope.svg?branch=master)](https://travis-ci.org/microsoft/pxt-calliope)
|
||||
# Calliope target for Microsoft MakeCode
|
||||
|
||||
This editor is hosted at https://makecode.calliope.cc.
|
||||
|
||||
|
@ -47,6 +47,6 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"pxt-common-packages": "6.18.2",
|
||||
"pxt-core": "5.31.10"
|
||||
"pxt-core": "5.31.18"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user