Skip to content

feat: bump to @guidebooks/store@8 #1395

feat: bump to @guidebooks/store@8

feat: bump to @guidebooks/store@8 #1395

Workflow file for this run

name: CLI
# cancel any prior runs for this workflow and this PR (or branch)
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
kind:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
node-version: [16.x]
shell: [/bin/bash, /bin/zsh]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
# the linux image for github actions does not include zsh
# FIXME: ugh, apt permissions errors ensue if we do this...
# - name: Install zsh on Linux
# run: sudo apt-get update; sudo apt-get install zsh
# if: matrix.os == 'ubuntu-latest'
- run: npm ci && npm run build:headless
shell: bash
env:
NODE_OPTIONS: "--max_old_space_size=8192"
- name: Run Test (with bash and zsh)
env:
EXECUTABLE_PATH: github-actions-production
SHELL: ${{ matrix.shell }}
run: ./tests/cli/run.sh
if: matrix.os == 'macOS-latest'
- name: Run Test (with bash)
env:
EXECUTABLE_PATH: github-actions-production
run: ./tests/cli/run.sh
if: matrix.os != 'macOS-latest' && matrix.shell == '/bin/bash'