Skip to content

Commit

Permalink
circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
gkushang committed May 17, 2020
1 parent 8322251 commit b691374
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 36 deletions.
36 changes: 36 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
version: 2.1
orbs:
node: circleci/node@2.0.2
jobs:
build-and-test:
executor:
name: node/default

docker: # run the steps with Docker
- image: circleci/openjdk:11.0.3-jdk-stretch #
steps:
- checkout

- run:
name: install node
command: |
curl -sSL "https://nodejs.org/dist/v13.0.0/node-v13.0.0-linux-x64.tar.xz" | sudo tar --strip-components=2 -xJ -C /usr/local/bin/ node-v13.0.0-linux-x64/bin/node
curl https://www.npmjs.com/install.sh | sudo bash
npm install yarn -g
- run:
name: install chrome
command: |
wget -N http://chromedriver.storage.googleapis.com/2.30/chromedriver_linux64.zip -P ~/
unzip ~/chromedriver_linux64.zip -d ~/
rm ~/chromedriver_linux64.zip
sudo mv -f ~/chromedriver /usr/local/share/
sudo chmod +x /usr/local/share/chromedriver
sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver
- run: yarn install
- run: yarn bootstrap
- run: yarn acceptance

workflows:
acceptance-tests:
jobs:
- build-and-test
34 changes: 0 additions & 34 deletions .github/workflows/nodejs.yml

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
},
"scripts": {
"bootstrap": "lerna bootstrap",
"test": "lerna run --scope create-codeceptjs-bdd-tests test"
"acceptance": "lerna run --scope create-codeceptjs-bdd-tests test"
},
"version": "1.0.0",
"description": "CodeceptJS Cucumber BDD Framework",
"author": "Kushang Gajjar <g.kushang@gmail.com>",
"license": "MIT"
}
}

0 comments on commit b691374

Please sign in to comment.