Skip to content

fix: support for more than one digit after . for hsl colors in parseToRgb #481

fix: support for more than one digit after . for hsl colors in parseToRgb

fix: support for more than one digit after . for hsl colors in parseToRgb #481

Workflow file for this run

name: Node CI Test
on:
push:
branches:
- "main"
pull_request:
types: [opened, synchronize, reopened]
jobs:
build-test:
strategy:
matrix:
node-version: [14.x, 16.x, 17.x]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install Yarn
run: npm install -g yarn
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install Dependencies
run: yarn install --ignore-scripts --frozen-lockfile
- name: Run Jest Tests
run: yarn test
- name: Lint Files
run: yarn lint
- name: Build and Check Types
run: |
yarn flow
yarn build:flow