Skip to content

Bump braces and jest #333

Bump braces and jest

Bump braces and jest #333

Workflow file for this run

name: Build Status
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
node-version: [8.3.0, 18.x]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/[email protected]
- uses: volta-cli/[email protected]
with:
volta-version: '1.1.1'
- run: volta pin node@${{ matrix.node-version }}
# Node 8.3.0 comes with npm 5.3.0.
# npm 5.7.1 is the first version to support npm ci
- if: ${{ matrix.node-version != '18.x' }}
run: volta pin [email protected]
- run: npm install
- run: npm run e2e
# mock-fs dropped support for Node 10
- if: ${{ matrix.node-version == '18.x' }}
run: npm t
# ESLint 7+ uses `} catch {` which isn't supported in Node 8
- if: ${{ matrix.node-version == '18.x' }}
run: npm run lint