Skip to content

update publish.yml nodejs=20 #30

update publish.yml nodejs=20

update publish.yml nodejs=20 #30

Workflow file for this run

name: publish
on:
push:
branches: ['master']
# pull_request:
# branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 20
# cache: 'npm'
- run: npm install
- run: npm install -g vsce esbuild
- run: node ./download-phar.js
# - run: esbuild ./src/index.ts --bundle --minify --outfile=./index.js --external:vscode --format=cjs --platform=node
- run: vsce publish -p ${{ secrets.VSC_TOKEN }}