Skip to content

Package Colorpicker

Package Colorpicker #5

Workflow file for this run

name: Package Colorpicker
on:
workflow_dispatch:
jobs:
package:
name: Package Colorpicker
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Linux deps
if: ${{ runner.os == 'Linux' }}
run: |
sudo apt-get update
sudo apt-get install libxtst-dev libpng++-dev
- name: Install deps
run: npm install
- name: Package Colorpicker
run: npm run release
- name: Publish artifacts
uses: actions/upload-artifact@v4
with:
name: Colorpicker-${{ runner.os }}-artifacts
path: out