Skip to content

Build and Zip Extension #9

Build and Zip Extension

Build and Zip Extension #9

Workflow file for this run

name: Build and Zip Extension
on:
workflow_dispatch:
jobs:
build:
name: Build
timeout-minutes: 15
runs-on: windows-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
- name: Install dependencies
run: yarn
- name: Build
run: yarn build
- name: Zip the build folder
run: |
powershell Compress-Archive -Path dist\* -DestinationPath extension.zip
- name: Upload extension artifacts
uses: actions/upload-artifact@v3
with:
name: better-studres
path: extension.zip