UNPKG

is-figma-url

Version:

Simple regex to check whether a string is a valid Figma live embed url

31 lines (25 loc) 800 B
# Javascript Node CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-javascript/ for more details # version: 2.1 jobs: build: docker: - image: circleci/node:lts working_directory: ~/repo parallelism: 4 steps: - checkout - run: yarn install - run: name: Test command: yarn test --ci --coverage --reporters=default --reporters=jest-junit - run: name: Setup Code Climate test-reporter command: | curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter && \ chmod +x ./cc-test-reporter - run: name: Collect test coverage command: ./cc-test-reporter after-build -t lcov --debug