You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
948 B
37 lines
948 B
name: Check pxt.json |
|
|
|
on: |
|
push: |
|
branches: |
|
- 'master' |
|
- 'main' |
|
|
|
jobs: |
|
check-cfg: |
|
runs-on: ubuntu-latest |
|
strategy: |
|
matrix: |
|
node-version: [14.x] |
|
steps: |
|
- uses: actions/checkout@v2 |
|
- name: Use Node.js ${{ matrix.node-version }} |
|
uses: actions/setup-node@v1 |
|
with: |
|
node-version: ${{ matrix.node-version }} |
|
- name: npm install |
|
run: | |
|
npm install -g pxt |
|
pxt target arcade |
|
- name: Checkout current state |
|
run: | |
|
git checkout -- . |
|
git clean -fd |
|
- name: Fix files listed in config if necessary |
|
run: pxt checkpkgcfg |
|
- name: Create Pull Request |
|
uses: peter-evans/create-pull-request@v3 |
|
continue-on-error: true |
|
with: |
|
title: 'Removing missing files from pxt.json' |
|
commit-message: 'Removing missing files from pxt.json' |
|
delete-branch: true
|
|
|