Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Update blank.yml

Update blank.yml #4

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30 # Add a timeout to avoid infinite hangs
steps:
# Step 1: Check out the code
- uses: actions/checkout@v4
# Step 2: Set up Node.js (using Node 20)
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
# Step 3: Install dependencies (including vsce)
- name: Install dependencies
run: |
npm install
npm install -g @vscode/vsce
# Step 4: Build VSIX package
- name: Build VSIX package
run: vsce package
# Step 5: Upload the package to release artifacts using v4
- name: Upload VSIX to release
uses: actions/upload-artifact@v4 # Updated to v4
with:
name: vscode-theme-package
path: "*.vsix"