Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 24 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,34 @@
version: 2.1
version: 2.1
jobs:
build:
environment:
CC_TEST_REPORTER_ID: dde3fcc4c58338dab099774f34c81bca1db56531363252d73b640bac74eb1d9b
docker:
- image: cimg/node:lts-browsers
- image: cimg/node:24.15-browsers
working_directory: ~/repo
steps:
- checkout
- 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
name: Test install
command: npm install
- run:
name: Test install
command: 'npm install'
name: typecheck
command: npm run typecheck
- run:
name: run all tests
command: |
./cc-test-reporter before-build
npm test
./cc-test-reporter after-build --coverage-input-type lcov --exit-code $?
name: run all tests
command: npm test
- store_artifacts:
path: coverage
path: coverage
- run:
name: Smoketest - clean install without devDependencies
command: |
rm -rf node_modules package-lock.json
npm install --omit=dev
- run:
name: Smoketest - verify production server starts
command: |
PORT=7777 node server.js &
SERVER_PID=$!
sleep 5
curl --fail --silent --show-error http://localhost:7777/ > /dev/null
STATUS=$?
kill $SERVER_PID || true
exit $STATUS
42 changes: 0 additions & 42 deletions .codeclimate.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .eslintignore

This file was deleted.

55 changes: 0 additions & 55 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.15.1
24.15.0
Loading
Loading