Skip to content

Update to Unicode 16 #208

Update to Unicode 16

Update to Unicode 16 #208

Workflow file for this run

name: Integration
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
name: Checking build
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- name: Install Dependencies
run: yarn install --immutable
- name: Build
run: yarn build
test:
name: Running tests
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- name: Install Dependencies
run: yarn install --immutable
- uses: actions/cache@v4
id: cache-prebuilt-node
with:
key: prebuilt/node-v24.0.0-pre-linux-x64_icu76.1
path: prebuilt/node-v24.0.0-pre-linux-x64_icu76.1
- name: Download Prebuilt Node.js with ICU 76.1
if: steps.cache-prebuilt-node.cache-hit != 'true'
run: |
export PREBUILT_BINARY="${{ steps.cache-prebuilt-node.key }}"
mkdir -p "$(dirname $PREBUILT_BINARY)"
curl -fsSL -o "$PREBUILT_BINARY" \
"https://github-actions-assets.cometkim.dev/$PREBUILT_BINARY"
echo "PREBUILT_BINARY=$PREBUILT_BINARY" >> $GITHUB_ENV
- name: Execute Tests
run: |
$PREBUILT_BINARY \
--test --test-reporter spec --test-reporter-destination=stdout \
--experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: cometkim/unicode-segmenter
file: lcov.info