only export active criteria #5461
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |