Skip to content

change axis color to match light and dark mode (color tradeoff) #19

change axis color to match light and dark mode (color tradeoff)

change axis color to match light and dark mode (color tradeoff) #19

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Server binaries
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
if: ${{ false }} # disable for now
runs-on: ubuntu-18.04
strategy:
matrix:
include:
- arch: armv7
distro: ubuntu18.04
base: arm32v7/node:18-buster
target: node18-linuxstatic-armv7
#node-version: [14.x]
#pkg-target: ["node14-windows-x64", "node14-linux-x64", "node14-linux-armv7"]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- uses: uraimo/run-on-arch-action@v2
name: Build artifact
id: build
with:
#arch: ${{ matrix.arch }}
#distro: ${{ matrix.distro }}
base_image: ${{ matrix.base }}
githubToken: ${{ github.token }}
setup: |
mkdir -p "${PWD}/artifacts"
dockerRunArgs: |
--volume "${PWD}/artifacts:/artifacts"
env: | # YAML, but pipe character is necessary
artifact_name: git-${{ matrix.distro }}_${{ matrix.arch }}
shell: /bin/sh
install: |
case "${{ matrix.distro }}" in
ubuntu*|jessie|stretch|buster|bullseye)
apt-get update -q -y
apt-get install -q -y git
;;
fedora*)
dnf -y update
dnf -y install git which
;;
alpine*)
apk update
apk add git
;;
esac
run: |
uname -a
cd server
npm i -g pkg
pkg --targets ${{ matrix.target }} --out-path /artifacts/ .
- name: Show the artifact
run: |
ls -al "${PWD}/artifacts"