Skip to content

Merge branch 'master' of https://github.com/microsoft/pxt into thspar… #5079

Merge branch 'master' of https://github.com/microsoft/pxt into thspar…

Merge branch 'master' of https://github.com/microsoft/pxt into thspar… #5079

Workflow file for this run

name: pxt-buildpush
on:
push:
# main/master has its own build that includes the crowdin key
branches-ignore:
- 'main'
- 'master'
jobs:
build:
name: buildpush
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Set Node.js version
uses: actions/setup-node@main
with:
node-version: '16.x'
- name: npm install
run: |
sudo apt-get install xvfb
sudo npm install -g pxt
npm install
- name: npm test
run: |
npm test
env:
PXT_ACCESS_TOKEN: ${{ secrets.PXT_ACCESS_TOKEN }}
NPM_ACCESS_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
PXT_ENV: production
CHROME_BIN: chromium-browser
DISPLAY: :99.0
CI: true