From 51ea620578572e8ef4441a691f7ba19ee852219d Mon Sep 17 00:00:00 2001 From: peli Date: Tue, 8 Sep 2020 02:13:11 -0700 Subject: [PATCH] resurect actions build --- .github/workflows/pxt-buildtarget.yml | 39 +++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/pxt-buildtarget.yml diff --git a/.github/workflows/pxt-buildtarget.yml b/.github/workflows/pxt-buildtarget.yml new file mode 100644 index 00000000..c0726c87 --- /dev/null +++ b/.github/workflows/pxt-buildtarget.yml @@ -0,0 +1,39 @@ +name: pxt-buildtarget + +on: + push: + branches: + - master + create: + +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 \ No newline at end of file