Skip to content

⬆️ deps(gha): Bump actions/setup-node from 4.0.4 to 4.1.0 #486

⬆️ deps(gha): Bump actions/setup-node from 4.0.4 to 4.1.0

⬆️ deps(gha): Bump actions/setup-node from 4.0.4 to 4.1.0 #486

Workflow file for this run

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@v4
- uses: actions/[email protected]
with:
node-version: "18.x"
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- run: npm install
- run: npm i -g @vscode/vsce
- name: Set up pyenv
uses: "gabrielfalcao/pyenv-action@2f49ca7587f9d0663d13f1147b78d3361417eaf7"
with:
command: python --version
- name: Set default global version
run: |
pyenv install 3.8
pyenv global 3.8
- run: EXTENSIONS=$(node diff-extensions) node publish-extensions
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Report results
run: bun run ./report-extensions.ts
- uses: actions/upload-artifact@v4
if: always()
with:
name: report
path: |
/tmp/stat.json
/tmp/result.md
- name: Upload job summary
run: cat /tmp/result.md >> $GITHUB_STEP_SUMMARY
- name: Save PR number to file
if: github.event_name == 'pull_request'
run: echo ${{ github.event.number }} > PR_NUMBER.txt
- name: Archive PR number
if: github.event_name == 'pull_request'
uses: actions/upload-artifact@v4
with:
name: PR_NUMBER
path: PR_NUMBER.txt