Skip to content

Bump @types/node from 20.14.13 to 22.0.0 (#92) #191

Bump @types/node from 20.14.13 to 22.0.0 (#92)

Bump @types/node from 20.14.13 to 22.0.0 (#92) #191

Workflow file for this run

{
"jobs": {
"build": {
"runs-on": "ubuntu-latest",
"steps": [
{
"uses": "actions/checkout@v4"
},
{
"uses": "actions/setup-node@v4",
"with": {
"node-version": "18"
}
},
{
"run": "npm install"
},
{
"run": "npx vsce package --out purple-yolk.vsix"
},
{
"uses": "actions/upload-artifact@v4",
"with": {
"name": "purple-yolk-${{ github.sha }}.vsix",
"path": "purple-yolk.vsix"
}
},
{
"env": {
"GITHUB_TOKEN": "${{ secrets.GITHUB_TOKEN }}"
},
"if": "github.event_name == 'release'",
"uses": "svenstaro/upload-release-action@v2",
"with": {
"asset_name": "purple-yolk-${{ github.event.release.tag_name }}.vsix",
"file": "purple-yolk.vsix"
}
},
{
"if": "github.event_name == 'release'",
"run": "npx vsce publish --packagePath purple-yolk.vsix --pat \"${{ secrets.AZURE_PERSONAL_ACCESS_TOKEN }}\""
}
]
}
},
"name": "Workflow",
"on": {
"pull_request": {
"branches": [
"main"
]
},
"push": {
"branches": [
"main"
]
},
"release": {
"types": [
"created"
]
}
}
}