Skip to content

fix usage of shell-quote.parse on windows (#4105) #447

fix usage of shell-quote.parse on windows (#4105)

fix usage of shell-quote.parse on windows (#4105) #447

Workflow file for this run

name: Main branch
# This flow will re-run tests on the main branch after a PR has been merged.
on:
push:
branches:
- main
jobs:
test:
if: ${{ github.repository_owner == 'cloudflare' }}
name: "Tests"
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js 16.14
uses: actions/setup-node@v3
with:
node-version: 16.14
cache: "pnpm"
- name: Install workerd Dependencies
if: ${{ runner.os == 'Linux' }}
run: |
export DEBIAN_FRONTEND=noninteractive
sudo apt-get update
sudo apt-get install -y libc++1
- name: Install NPM Dependencies
run: pnpm install --frozen-lockfile
- name: Run builds
run: pnpm run build
env:
NODE_ENV: "production"
- name: Check for errors
run: pnpm run check
env:
NODE_OPTIONS: "--max_old_space_size=8192"
- name: Run tests
run: pnpm run test:ci
env:
TMP_CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
TMP_CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
NODE_OPTIONS: "--max_old_space_size=8192"