Skip to content

Commit

Permalink
Add Circle CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
maxxcrawford committed Jun 13, 2023
1 parent 3b3bdef commit e940886
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 12 deletions.
19 changes: 19 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This config is equivalent to both the '.circleci/extended/orb-free.yml' and the base '.circleci/config.yml'
version: 2.1

# Orbs are reusable packages of CircleCI configuration that you may share across projects, enabling you to create encapsulated, parameterized commands, jobs, and executors that can be used across multiple projects.
# See: https://circleci.com/docs/orb-intro/
orbs:
node: circleci/[email protected]

# Invoke jobs via workflows
# See: https://circleci.com/docs/configuration-reference/#workflows
workflows:
lint:
jobs:
- node/run:
npm-run: lint
test-ci:
jobs:
- node/run:
npm-run: test-ci
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@
"description": "Facebook Container isolates your Facebook activity from the rest of your web activity in order to prevent Facebook from tracking you outside of the Facebook website via third party cookies. ",
"main": "background.js",
"scripts": {
"test-ci": "mocha -test/functional/setup.js test/functional/*.test.js --timeout 60000",
"test": "eslint src test && npm run coverage && npm run test-functional",
"test-watch": "mocha --reporter=progress test/setup.js test/features/*.test.js --watch",
"test-functional": "mocha --reporter=progress test/functional/setup.js test/functional/*.test.js --timeout 60000",
"test-functional-dev": "cross-env NODE_ENV=development npm run test-functional",
"coverage": "nyc --reporter=html --reporter=text mocha --reporter=progress test/setup.js test/features/*.test.js --timeout 60000",
"coverage:simple": "nyc mocha test/setup.js test/features/*.test.js --timeout 60000",
"build": "npm test && web-ext build --overwrite-dest -s src",
"lint": "eslint src test",
"dev": "web-ext run -s src --devtools"
},
"repository": {
Expand Down

0 comments on commit e940886

Please sign in to comment.