Faster and smaller alternative to Ramda
version: 2.1
commands: test-nodejs: steps: - checkout - restore_cache: keys: - v1-dependencies-{{ checksum "package.json" }} # fallback to using the latest cache if no exact match is found - v1-dependencies- - run: name: Install dependencies command: yarn - run: name: Typings fix command: mkdir /home/circleci/.dts/perf -p - run: name: Test command: yarn cover - run: name: Upload command: bash <(curl -s - save-npm-cache save-npm-cache: steps: - save_cache: paths: - node_modules key: v1-dependencies-{{ checksum "package.json" }}
jobs: node-previous: docker: - image: node:16 steps: - test-nodejs node-latest: docker: - image: node:17 steps: - test-nodejs
workflows: node-multi-build: jobs: - node-previous - node-latest