UNPKG

geckoboard

Version:

> **For users of the deprecated custom widget library** > > You should pin your `package.json` to version `0.0.9` of this module to ensure that your code continues to work. > > `npm install geckoboard@0.0.9 --save`

53 lines (49 loc) 1.08 kB
version: 2.1 parameters: node_version: type: string default: '18.8' executors: node: docker: - image: cimg/node:<< pipeline.parameters.node_version >> # Everything is faster in RAM! # https://support.circleci.com/hc/en-us/articles/360054908812-Speed-up-steps-using-a-RAM-disk working_directory: /mnt/ramdisk/project jobs: test: executor: node steps: - checkout - run: npm clean-install - run: npm test lint: executor: node steps: - checkout - run: npm clean-install - run: npm run lint publish: executor: node steps: - checkout - run: npm clean-install - run: npm run build - run: name: Publish to NPM command: | npm set //registry.npmjs.org/:_authToken=$NPM_TOKEN npm publish workflows: lint-and-test: jobs: - lint - test tagged-build: jobs: - publish: filters: tags: only: /v[0-9]+(\.[0-9]+)*/ branches: ignore: /.*/