Package Colorpicker #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |