Skip to content

backwards compatiblity for github tutorial paths #5725

backwards compatiblity for github tutorial paths

backwards compatiblity for github tutorial paths #5725

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