-
Notifications
You must be signed in to change notification settings - Fork 208
37 lines (35 loc) · 923 Bytes
/
validate-pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Validate PR
on:
pull_request:
branches: [master]
jobs:
publish_extensions:
env:
VALIDATE_PR: true
SKIP_PUBLISH: true
FORCE: true
name: Validate PR
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
node-version: "14.x"
- run: npm install
- run: npm i -g @vscode/vsce
- uses: actions/setup-python@v4
with:
python-version: "3.7"
- run: EXTENSIONS=$(node diff-extensions) node publish-extensions
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: node report-extensions
- uses: actions/upload-artifact@v3
if: always()
with:
name: report
path: |
/tmp/stat.json
/tmp/result.md
- name: Upload job summary
run: cat /tmp/result.md >> $GITHUB_STEP_SUMMARY