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
12 changes: 2 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,13 @@ version: 2

defaults: &defaults
docker:
- image: circleci/node:8
- image: cimg/node:lts-browsers

jobs:
build:
<<: *defaults
steps:
- checkout
- run:
name: export BROWSERSTACK_TUNNEL_IDENTIFIER
command: |
echo "export BROWSERSTACK_TUNNEL_IDENTIFIER=$CIRCLE_BUILD_NUM-$CIRCLE_NODE_INDEX" >> $BASH_ENV
- run:
name: browserstack tunnel
command: ./bin/BrowserStackLocal-linux-x64 -localIdentifier $BROWSERSTACK_TUNNEL_IDENTIFIER $BROWSERSTACK_ACCESS_KEY
background: true
- restore_cache:
keys:
- npm-cache-{{ checksum "package-lock.json" }}
Expand All @@ -26,7 +18,7 @@ jobs:
key: npm-cache-{{ checksum "package-lock.json" }}
paths:
- node_modules
- run: CI=true npm run test:all
- run: CI=true npm run test:19
- run: npm run build
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
- persist_to_workspace:
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ The LogRocket React plugin allows you to search for sessions in which the user c

## Guide for React versions

### If using React 19
`npm i --save logrocket-react@7`

### If using React 18
`npm i --save logrocket-react@6`

### If using React 17
`npm i --save logrocket-react@5`

Expand Down
Loading